diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2014-12-15 15:39:26 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2014-12-15 15:39:26 +0100 |
commit | 5c8b1abd08b08d605cf963400560f22130464065 (patch) | |
tree | 87e8e782b59b2297f43a3465422b795488b5132c | |
parent | 27a7de71c70787a522bd0706dbcbe95311bde552 (diff) | |
download | gcc-5c8b1abd08b08d605cf963400560f22130464065.zip gcc-5c8b1abd08b08d605cf963400560f22130464065.tar.gz gcc-5c8b1abd08b08d605cf963400560f22130464065.tar.bz2 |
* gcc/config/rs6000/rs6000.md (*add>mode>3_imm_dot,
*add<mode>3_imm_dot2): Change the constraint for the second
alternative for operand 1 from "r" to "b".
From-SVN: r218750
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9007563..c5a5a37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-12-15 Segher Boessenkool <segher@kernel.crashing.org> + + * gcc/config/rs6000/rs6000.md (*add>mode>3_imm_dot, + *add<mode>3_imm_dot2): Change the constraint for the second + alternative for operand 1 from "r" to "b". + 2014-12-15 Richard Biener <rguenther@suse.de> * vec.h (vec::safe_grow): Guard against a grow to zero size. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index c017842..5209c51 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1569,7 +1569,7 @@ (define_insn_and_split "*add<mode>3_imm_dot" [(set (match_operand:CC 3 "cc_reg_operand" "=x,?y") - (compare:CC (plus:GPR (match_operand:GPR 1 "gpc_reg_operand" "%r,r") + (compare:CC (plus:GPR (match_operand:GPR 1 "gpc_reg_operand" "%r,b") (match_operand:GPR 2 "short_cint_operand" "I,I")) (const_int 0))) (clobber (match_scratch:GPR 0 "=r,r")) @@ -1592,7 +1592,7 @@ (define_insn_and_split "*add<mode>3_imm_dot2" [(set (match_operand:CC 3 "cc_reg_operand" "=x,?y") - (compare:CC (plus:GPR (match_operand:GPR 1 "gpc_reg_operand" "%r,r") + (compare:CC (plus:GPR (match_operand:GPR 1 "gpc_reg_operand" "%r,b") (match_operand:GPR 2 "short_cint_operand" "I,I")) (const_int 0))) (set (match_operand:GPR 0 "gpc_reg_operand" "=r,r") |