From 5c8b1abd08b08d605cf963400560f22130464065 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Mon, 15 Dec 2014 15:39:26 +0100 Subject: [PATCH] * 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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") -- 2.30.2