From: Segher Boessenkool Date: Mon, 15 Dec 2014 14:39:26 +0000 (+0100) Subject: * gcc/config/rs6000/rs6000.md (*add>mode>3_imm_dot, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c8b1abd08b08d605cf963400560f22130464065;p=gcc.git * gcc/config/rs6000/rs6000.md (*add>mode>3_imm_dot, *add3_imm_dot2): Change the constraint for the second alternative for operand 1 from "r" to "b". From-SVN: r218750 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90075639ab8..c5a5a37ed15 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-12-15 Segher Boessenkool + + * gcc/config/rs6000/rs6000.md (*add>mode>3_imm_dot, + *add3_imm_dot2): Change the constraint for the second + alternative for operand 1 from "r" to "b". + 2014-12-15 Richard Biener * 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 c01784209e8..5209c5164e0 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1569,7 +1569,7 @@ (define_insn_and_split "*add3_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 "*add3_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")