AVX-512. Fix assembler section for broadcast pattern.
authorKirill Yukhin <kirill.yukhin@intel.com>
Tue, 8 Dec 2015 14:09:45 +0000 (14:09 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Tue, 8 Dec 2015 14:09:45 +0000 (14:09 +0000)
gcc/
* config/i386/sse.md (define_insn "<avx512>_vec_dup<mode>_1"): Fix
assembler to make source always 128bit.

From-SVN: r231410

gcc/ChangeLog
gcc/config/i386/sse.md

index 093d9a252f4868d29223eaf87ec36875b2e3fff9..d45a2a70f3242f73303c1ef9b4aafdacefe70c64 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-08  Kirill Yukhin  <kirill.yukhin@intel.com>
+
+       * config/i386/sse.md (define_insn "<avx512>_vec_dup<mode>_1"): Fix
+       assembler to make source always 128bit.
+
 2015-12-08  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/48088
index eb49c419b9e4a2d3caa4db391155ec9b26814f29..6740edf7a9f831ac24f02101a0fd92908ec6ef56 100644 (file)
            (match_operand:VI_AVX512BW 1 "nonimmediate_operand" "v,m")
            (parallel [(const_int 0)]))))]
   "TARGET_AVX512F"
-  "vpbroadcast<ssemodesuffix>\t{%1, %0|%0, %<iptr>1}
-   vpbroadcast<ssemodesuffix>\t{%x1, %0|%0, %x1}"
+  "@
+   vpbroadcast<ssemodesuffix>\t{%x1, %0|%0, %x1}
+   vpbroadcast<ssemodesuffix>\t{%x1, %0|%0, %<iptr>1}"
   [(set_attr "type" "ssemov")
    (set_attr "prefix" "evex")
    (set_attr "mode" "<sseinsnmode>")])