From 20ca9ae25f5b006168035e189b29561bcb11582e Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Wed, 18 Jan 2017 22:36:39 +0000 Subject: [PATCH] altivec.md (altivec_vbpermq): Change "type" attribute from vecsimple to vecperm. 2017-01-18 Bill Schmidt * config/rs6000/altivec.md (altivec_vbpermq): Change "type" attribute from vecsimple to vecperm. (altivec_vbpermq2): Likewise. From-SVN: r244603 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/altivec.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac7c24e5cbf..69f783e523a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-01-18 Bill Schmidt + + * config/rs6000/altivec.md (altivec_vbpermq): Change "type" + attribute from vecsimple to vecperm. + (altivec_vbpermq2): Likewise. + 2017-01-18 Bill Schmidt PR target/79040 diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index d3a9279dacf..8af7ac5ea7a 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -3680,7 +3680,7 @@ 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" @@ -3690,7 +3690,7 @@ 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") -- 2.30.2