From 4a9b0085bfa828f4670f1b3800c537ea260fe917 Mon Sep 17 00:00:00 2001 From: segher Date: Mon, 15 Dec 2014 14:39:26 +0000 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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218750 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.11.4.GIT