This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386] Disable AVX-512VL insns for scalar mode operands on -march=knl.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]