diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-24 19:35:38 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-24 19:35:38 +0000 |
commit | 719ee5e55f0ab57e7c09bf8a71e534c45f39ddfa (patch) | |
tree | 18e2a0a01b54455ec7b83b50a6b6607d07c7c934 /gcc/rtl.def | |
parent | 2e7c8216f1ea4d5efb96f2d2ba7b26edb647ca5b (diff) | |
download | gcc-719ee5e55f0ab57e7c09bf8a71e534c45f39ddfa.tar.gz |
* rtl.def (SS_ASHIFT, SS_NEG): New codes.
* doc/rtl.texi: Document them.
* simplify-rtx.c (simplify_unary_operation,
simplify_binary_operation_1): Don't abort when we see them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113227 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r-- | gcc/rtl.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def index 4c5a632063b..847b51c6321 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -642,6 +642,12 @@ DEF_RTL_EXPR(US_PLUS, "us_plus", "ee", RTX_COMM_ARITH) /* Operand 0 minus operand 1, with signed saturation. */ DEF_RTL_EXPR(SS_MINUS, "ss_minus", "ee", RTX_BIN_ARITH) +/* Negation with signed saturation. */ +DEF_RTL_EXPR(SS_NEG, "ss_neg", "e", RTX_UNARY) + +/* Shift left with signed saturation. */ +DEF_RTL_EXPR(SS_ASHIFT, "ss_ashift", "ee", RTX_BIN_ARITH) + /* Operand 0 minus operand 1, with unsigned saturation. */ DEF_RTL_EXPR(US_MINUS, "us_minus", "ee", RTX_BIN_ARITH) |