summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-02 18:57:30 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-02 18:57:30 +0000
commitefffc4a45a097227984137001618d3c1729e7ffd (patch)
treefbae25ec581eaee016833340a20b20b6320bebcd /gcc/config
parent1233bd097284b971740e242eba1e5fd6d3cfd62e (diff)
downloadgcc-efffc4a45a097227984137001618d3c1729e7ffd.tar.gz
PR target/20276
* config/rs6000/predicates.md (reg_or_cint64_operand): Fix typo. (reg_or_sub_cint64_operand): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95789 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/predicates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md
index 10e12af99fe..5cafb4c60f6 100644
--- a/gcc/config/rs6000/predicates.md
+++ b/gcc/config/rs6000/predicates.md
@@ -148,7 +148,7 @@
(define_predicate "reg_or_add_cint64_operand"
(if_then_else (match_code "const_int")
(match_test "(HOST_BITS_PER_WIDE_INT == 32 && INTVAL (op) < 0x7fff8000)
- || ((unsigned HOST_WIDE_INT) (INTVAL (op) + 0x80000000)
+ || ((unsigned HOST_WIDE_INT) (INTVAL (op) + 0x80008000)
< (unsigned HOST_WIDE_INT) 0x100000000ll)")
(match_operand 0 "gpc_reg_operand")))
@@ -157,7 +157,7 @@
(define_predicate "reg_or_sub_cint64_operand"
(if_then_else (match_code "const_int")
(match_test "(HOST_BITS_PER_WIDE_INT == 32 && INTVAL (op) < 0x7fff8000)
- || ((unsigned HOST_WIDE_INT) ((- INTVAL (op)) + 0x80000000)
+ || ((unsigned HOST_WIDE_INT) ((- INTVAL (op)) + 0x80008000)
< (unsigned HOST_WIDE_INT) 0x100000000ll)")
(match_operand 0 "gpc_reg_operand")))