altivec.md (altivec_vbpermq): Change "type" attribute from vecsimple to vecperm.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 18 Jan 2017 22:36:39 +0000 (22:36 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 18 Jan 2017 22:36:39 +0000 (22:36 +0000)
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

gcc/ChangeLog
gcc/config/rs6000/altivec.md

index ac7c24e5cbf27047dd9c89411be62a770ccc8afb..69f783e523a60b52ea88f9db1d3431b22b5feb42 100644 (file)
@@ -1,3 +1,9 @@
+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
index d3a9279dacf1bcbc3d8b18eb0a875c91d85f4999..8af7ac5ea7a844f4f237f45a851c07a88aeb7389 100644 (file)
                     UNSPEC_VBPERMQ))]
   "TARGET_P8_VECTOR"
   "vbpermq %0,%1,%2"
-  [(set_attr "type" "vecsimple")])
+  [(set_attr "type" "vecperm")])
 
 ; One of the vector API interfaces requires returning vector unsigned char.
 (define_insn "altivec_vbpermq2"
                      UNSPEC_VBPERMQ))]
   "TARGET_P8_VECTOR"
   "vbpermq %0,%1,%2"
-  [(set_attr "type" "vecsimple")])
+  [(set_attr "type" "vecperm")])
 
 (define_insn "altivec_vbpermd"
   [(set (match_operand:V2DI 0 "register_operand" "=v")