diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/predicates.md | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4ee188..b58ebdb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-11-23 Alan Modra <amodra@bigpond.net.au> + + PR target/24954 + * config/rs6000/predicates.md (easy_vector_constant_add_self): Fix + typo last change. + 2005-11-22 Alan Modra <amodra@bigpond.net.au> PR middle-end/24950 diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index b940261..2b0716e 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -317,7 +317,7 @@ (match_test "easy_altivec_constant (op, mode)"))) { rtx last = CONST_VECTOR_ELT (op, GET_MODE_NUNITS (mode) - 1); - HOST_WIDE_INT val = ((INTVAL (last) & 0xff) ^ 0x7f) - 0x7f; + HOST_WIDE_INT val = ((INTVAL (last) & 0xff) ^ 0x80) - 0x80; return EASY_VECTOR_15_ADD_SELF (val); }) |