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
This commit is contained in:
Aaron Sawdey 2017-02-10 21:07:36 +00:00 committed by Aaron Sawdey
parent e493f96b95
commit c1170481c9
2 changed files with 9 additions and 4 deletions

View file

@ -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.

View file

@ -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"