mips.md (*and<mode>3_mips16): Use the "W" constraint for the first two alternatives.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 24 Jan 2013 17:46:41 +0000 (17:46 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 24 Jan 2013 17:46:41 +0000 (17:46 +0000)
gcc/
* config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
for the first two alternatives.

From-SVN: r195433

gcc/ChangeLog
gcc/config/mips/mips.md

index 20f44e822f08dd8714cefb1697da65f6cf0efacb..4187ac1af58d7ab7ae24115d432c5c49c2738538 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-24  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
+       for the first two alternatives.
+
 2013-01-24  Diego Novillo  <dnovillo@google.com>
 
        * Makefile.in (GGC): Remove.  Replace all instances with
index ab5eded5bb99b4312a92ba5ad39c12fd7c4961df..7aa461dbd695467e45c17a9566ae764c2a02eddb 100644 (file)
 
 (define_insn "*and<mode>3_mips16"
   [(set (match_operand:GPR 0 "register_operand" "=d,d,d,d,d")
-       (and:GPR (match_operand:GPR 1 "nonimmediate_operand" "%o,o,W,d,0")
+       (and:GPR (match_operand:GPR 1 "nonimmediate_operand" "%W,W,W,d,0")
                 (match_operand:GPR 2 "and_operand" "Yb,Yh,Yw,Yw,d")))]
   "TARGET_MIPS16 && and_operands_ok (<MODE>mode, operands[1], operands[2])"
 {