From: David Edelsohn Date: Thu, 8 May 1997 02:20:15 +0000 (+0000) Subject: improve test for last change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95e8f2f3064f8ac1e9b6be9a25afb1d123b7ec4f;p=gcc.git improve test for last change From-SVN: r14046 --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 4b71bea394f..8c4f0b37bf6 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;