aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>1997-05-07 21:59:30 +0000
committerDavid Edelsohn <edelsohn@gnu.org>1997-05-07 21:59:30 +0000
commit24f2dbd6f70dd5ae6b3069f7587b3a6ba4e2211f (patch)
treece4eb0e7bf2022e13d87b6c57cb06ad67c4ad2d2
parentedd45bd68c04e719186e497c204e5146d2137416 (diff)
downloadgcc-24f2dbd6f70dd5ae6b3069f7587b3a6ba4e2211f.zip
gcc-24f2dbd6f70dd5ae6b3069f7587b3a6ba4e2211f.tar.gz
gcc-24f2dbd6f70dd5ae6b3069f7587b3a6ba4e2211f.tar.bz2
fix zero_extract lshiftrt insv combiner pattern bug
From-SVN: r14044
-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 eba1a89..4b71bea 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])"
"*
{
int shift = INTVAL (operands[4]) & 31;