aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-01-24 17:46:41 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-01-24 17:46:41 +0000
commitc15b1756a3826a210eac5b707e369ebf3997c98a (patch)
tree21fd24c67af636e97f649ee059caae9fec61bb7e
parentf9a98c60f1024d8b715939e96a793c0889c06fd5 (diff)
gcc/
* config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint for the first two alternatives. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195433 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 20f44e822f0..4187ac1af58 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index ab5eded5bb9..7aa461dbd69 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -2898,7 +2898,7 @@
(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])"
{