This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386] Disable AVX-512VL insns for scalar mode operands on -march=knl.
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Richard Biener <rguenther at suse dot de>, Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 6 Aug 2015 13:13:52 +0200
- Subject: Re: [PATCH, i386] Disable AVX-512VL insns for scalar mode operands on -march=knl.
- Authentication-results: sourceware.org; auth=none
- References: <20150804114734 dot GA32256 at msticlxl57 dot ims dot intel dot com> <CAFULd4Zc1tiCXNXbVQ8EoHfTth=oVpPtDFpsxYChP-hbVPQr0g at mail dot gmail dot com> <20150804123126 dot GC32256 at msticlxl57 dot ims dot intel dot com> <20150804123401 dot GE32256 at msticlxl57 dot ims dot intel dot com> <20150805080728 dot GA47699 at msticlxl57 dot ims dot intel dot com> <CAFULd4aN_iYQ8mF0irirew2YgcDpUYQk2CwC_QyOaYJt8Ei+Bw at mail dot gmail dot com>
On Thu, Aug 6, 2015 at 9:27 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>> Is it ok to backport the patch to gcc-5-branch?
>
> A minor attribute fix is needed, please update type attribute of
> *vec_concatv2df for added alternatives, also for mainline.
Fixed in mainline with the following patch:
2015-08-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (*vec_concatv2df): Declare added
alternatives as sselog type.
Bootstrapped and regression tested on x86_64-linux-gnu, committed to
mainline SVN.
Uros.
Index: sse.md
===================================================================
--- sse.md (revision 226670)
+++ sse.md (working copy)
@@ -8683,7 +8683,7 @@
[(set_attr "isa"
"sse2_noavx,avx,avx512vl,sse3,avx512vl,sse2_noavx,avx,sse2,noavx,noavx")
(set (attr "type")
(if_then_else
- (eq_attr "alternative" "0,1,2")
+ (eq_attr "alternative" "0,1,2,3,4")
(const_string "sselog")
(const_string "ssemov")))
(set (attr "prefix_data16")