aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>1997-05-08 02:20:15 +0000
committerDavid Edelsohn <edelsohn@gnu.org>1997-05-08 02:20:15 +0000
commit95e8f2f3064f8ac1e9b6be9a25afb1d123b7ec4f (patch)
treedc1823ee472ff6f1bd6c7ae2d045695333fb4f6b
parent6e6a07d29955e808fccd63ee2ca34ec217e19b5c (diff)
downloadgcc-95e8f2f3064f8ac1e9b6be9a25afb1d123b7ec4f.zip
gcc-95e8f2f3064f8ac1e9b6be9a25afb1d123b7ec4f.tar.gz
gcc-95e8f2f3064f8ac1e9b6be9a25afb1d123b7ec4f.tar.bz2
improve test for last change
From-SVN: r14046
-rw-r--r--gcc/config/rs6000/rs6000.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 4b71bea..8c4f0b3 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -2138,7 +2138,7 @@
(match_operand:SI 2 "const_int_operand" "i"))
(lshiftrt:SI (match_operand:SI 3 "gpc_reg_operand" "r")
(match_operand:SI 4 "const_int_operand" "i")))]
- "(32 - INTVAL (operands[4])) >= INTVAL (operands[1])"
+ "(32 - (INTVAL (operands[4]) & 31)) >= INTVAL (operands[1])"
"*
{
int shift = INTVAL (operands[4]) & 31;