Commit 20ca9ae2 by Bill Schmidt Committed by William Schmidt

altivec.md (altivec_vbpermq): Change "type" attribute from vecsimple to vecperm.

2017-01-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/altivec.md (altivec_vbpermq): Change "type"
	attribute from vecsimple to vecperm.
	(altivec_vbpermq2): Likewise.

From-SVN: r244603
parent 1c8bf560
2017-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com> 2017-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/altivec.md (altivec_vbpermq): Change "type"
attribute from vecsimple to vecperm.
(altivec_vbpermq2): Likewise.
2017-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/79040 PR target/79040
* config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz. * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz.
......
...@@ -3680,7 +3680,7 @@ ...@@ -3680,7 +3680,7 @@
UNSPEC_VBPERMQ))] UNSPEC_VBPERMQ))]
"TARGET_P8_VECTOR" "TARGET_P8_VECTOR"
"vbpermq %0,%1,%2" "vbpermq %0,%1,%2"
[(set_attr "type" "vecsimple")]) [(set_attr "type" "vecperm")])
; One of the vector API interfaces requires returning vector unsigned char. ; One of the vector API interfaces requires returning vector unsigned char.
(define_insn "altivec_vbpermq2" (define_insn "altivec_vbpermq2"
...@@ -3690,7 +3690,7 @@ ...@@ -3690,7 +3690,7 @@
UNSPEC_VBPERMQ))] UNSPEC_VBPERMQ))]
"TARGET_P8_VECTOR" "TARGET_P8_VECTOR"
"vbpermq %0,%1,%2" "vbpermq %0,%1,%2"
[(set_attr "type" "vecsimple")]) [(set_attr "type" "vecperm")])
(define_insn "altivec_vbpermd" (define_insn "altivec_vbpermd"
[(set (match_operand:V2DI 0 "register_operand" "=v") [(set (match_operand:V2DI 0 "register_operand" "=v")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment