From c1170481c98158b1f7f10e0488eeaf972284385a Mon Sep 17 00:00:00 2001 From: Aaron Sawdey Date: Fri, 10 Feb 2017 21:07:36 +0000 Subject: [PATCH] re PR target/79295 (gcc.target/powerpc/bcd-3.c fails starting with r244942) 2017-02-10 Aaron Sawdey PR target/79295 * config/rs6000/altivec.md (bcd): Fix constraints. Applying patch suggested by Meissner. From-SVN: r245345 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/altivec.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be1ed7b04f8..09b4ad7a667 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-02-10 Aaron Sawdey + + PR target/79295 + * config/rs6000/altivec.md (bcd): Fix constraints. + 2017-02-10 Gerald Pfeifer * doc/install.texi (Specific): Use https for blackfin.uclinux.org. diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index 3a659b0b86c..649f1810d16 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -3710,10 +3710,10 @@ (define_code_iterator BCD_TEST [eq lt gt unordered]) (define_insn "bcd" - [(set (match_operand:V1TI 0 "register_operand" "") - (unspec:V1TI [(match_operand:V1TI 1 "register_operand" "") - (match_operand:V1TI 2 "register_operand" "") - (match_operand:QI 3 "const_0_to_1_operand" "")] + [(set (match_operand:V1TI 0 "gpc_reg_operand" "=v") + (unspec:V1TI [(match_operand:V1TI 1 "gpc_reg_operand" "v") + (match_operand:V1TI 2 "gpc_reg_operand" "v") + (match_operand:QI 3 "const_0_to_1_operand" "n")] UNSPEC_BCD_ADD_SUB)) (clobber (reg:CCFP CR6_REGNO))] "TARGET_P8_VECTOR" -- 2.30.2