aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAaron Sawdey <acsawdey@linux.vnet.ibm.com>2017-02-10 21:07:36 +0000
committerAaron Sawdey <acsawdey@gcc.gnu.org>2017-02-10 15:07:36 -0600
commitc1170481c98158b1f7f10e0488eeaf972284385a (patch)
tree104fa08c328fb8feeb4628db59e5cbbce89ce235 /gcc
parente493f96b95161fcc8a4e3bfcc6edda400216d3f8 (diff)
downloadgcc-c1170481c98158b1f7f10e0488eeaf972284385a.zip
gcc-c1170481c98158b1f7f10e0488eeaf972284385a.tar.gz
gcc-c1170481c98158b1f7f10e0488eeaf972284385a.tar.bz2
re PR target/79295 (gcc.target/powerpc/bcd-3.c fails starting with r244942)
2017-02-10 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> PR target/79295 * config/rs6000/altivec.md (bcd<bcd_add_sub>): Fix constraints. Applying patch suggested by Meissner. From-SVN: r245345
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/altivec.md8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index be1ed7b..09b4ad7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-10 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
+
+ PR target/79295
+ * config/rs6000/altivec.md (bcd<bcd_add_sub>): Fix constraints.
+
2017-02-10 Gerald Pfeifer <gerald@pfeifer.com>
* 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 3a659b0..649f181 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<bcd_add_sub>"
- [(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"