fix zero_extract lshiftrt insv combiner pattern bug
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 7 May 1997 21:59:30 +0000 (21:59 +0000)
committerDavid Edelsohn <edelsohn@gnu.org>
Wed, 7 May 1997 21:59:30 +0000 (21:59 +0000)
From-SVN: r14044

gcc/config/rs6000/rs6000.md

index eba1a8963233b1bccf0e0e5e3747eba89620dc08..4b71bea394f3206fbf1d219aa83967548e318973 100644 (file)
                         (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;