sse.md (cvtusi2<ssescalarmodesuffix>64<round_name>): Add {q} suffix to insn mnemonic.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 24 May 2018 21:23:33 +0000 (23:23 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 24 May 2018 21:23:33 +0000 (23:23 +0200)
* config/i386/sse.md (cvtusi2<ssescalarmodesuffix>64<round_name>):
Add {q} suffix to insn mnemonic.

testsuite/Changelog:

* gcc.target/i386/avx512f-vcvtusi2sd64-1.c: Update scan string.
* gcc.target/i386/avx512f-vcvtusi2ss64-1.c: Ditto.

From-SVN: r260691

gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-vcvtusi2sd64-1.c
gcc/testsuite/gcc.target/i386/avx512f-vcvtusi2ss64-1.c

index c793380384a85eeb8a59d3c8494d5472c8db3763..0bba637a95a1a72ee8110faa239ec19a7952ed56 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sse.md (cvtusi2<ssescalarmodesuffix>64<round_name>):
+       Add {q} suffix to insn mnemonic.
+
 2018-05-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * config/msp430/msp430.c (TARGET_WARN_FUNC_RETURN): Define.
index 9750708a80f7f0a46b387457da7a10860c83b2ae..afe18d61973e672f4ea205ebfd01912426976aca 100644 (file)
          (match_operand:VF_128 1 "register_operand" "v")
          (const_int 1)))]
   "TARGET_AVX512F && TARGET_64BIT"
-  "vcvtusi2<ssescalarmodesuffix>\t{%2, <round_op3>%1, %0|%0, %1<round_op3>, %2}"
+  "vcvtusi2<ssescalarmodesuffix>{q}\t{%2, <round_op3>%1, %0|%0, %1<round_op3>, %2}"
   [(set_attr "type" "sseicvt")
    (set_attr "prefix" "evex")
    (set_attr "mode" "<ssescalarmode>")])
index f7d0c3a4fb4326e179f9dc414d6c62b6d3050306..4e77177e229569fd98380e9f993ec818a5af73fc 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/avx512f-vcvtusi2sd64-1.c: Update scan string.
+       * gcc.target/i386/avx512f-vcvtusi2ss64-1.c: Ditto.
+
 2018-05-24  Roger Sayle  <roger@nextmovesoftware.com>
 
         * gcc.dg/fold-popcount-1.c: New testcase.
index 8675450f0c477560ffc7de8fe09e9f0a2550dbb0..66476c3013f5531ebb055b0ed85486f78b639045 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile { target { ! ia32 } } } */
 /* { dg-options "-mavx512f -O2" } */
-/* { dg-final { scan-assembler-times "vcvtusi2sd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtusi2sd\[ \\t\]+\[^%\n\]*%r\[^\{\n\]*\{ru-sae\}\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
+/* { dg-final { scan-assembler-times "vcvtusi2sdq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
+/* { dg-final { scan-assembler-times "vcvtusi2sdq\[ \\t\]+\[^%\n\]*%r\[^\{\n\]*\{ru-sae\}\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
 
 #include <immintrin.h>
 
index 38ecf39ad65ae235265f1f1ac43beed5245b17dc..f4dae5368736bd7e1586e3de4e9749c7202a1e6f 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile { target { ! ia32 } } } */
 /* { dg-options "-mavx512f -O2" } */
-/* { dg-final { scan-assembler-times "vcvtusi2ss\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
-/* { dg-final { scan-assembler-times "vcvtusi2ss\[ \\t\]+\[^%\n\]*%r\[^\{\n\]*\{rz-sae\}\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
+/* { dg-final { scan-assembler-times "vcvtusi2ssq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
+/* { dg-final { scan-assembler-times "vcvtusi2ssq\[ \\t\]+\[^%\n\]*%r\[^\{\n\]*\{rz-sae\}\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
 
 #include <immintrin.h>