AVX-512. 76/n. Extend int 2 float conversions.
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Thu, 16 Oct 2014 05:41:51 +0000 (05:41 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Thu, 16 Oct 2014 05:41:51 +0000 (05:41 +0000)
gcc/
* config/i386/sse.md
(define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to
support AVX-512VL instructions.

Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com>
Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com>
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com>
Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com>
Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com>
From-SVN: r216297

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

index a936c01681194b645c10bc17fceac99e8c00a902..349b3037d0d4871b1a9260d8a09ba52bb4afde41 100644 (file)
@@ -1,3 +1,16 @@
+2014-10-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
+           Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
+           Anna Tikhonova  <anna.tikhonova@intel.com>
+           Ilya Tocar  <ilya.tocar@intel.com>
+           Andrey Turetskiy  <andrey.turetskiy@intel.com>
+           Ilya Verbin  <ilya.verbin@intel.com>
+           Kirill Yukhin  <kirill.yukhin@intel.com>
+           Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
+
+       * config/i386/sse.md
+       (define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to
+       support AVX-512VL instructions.
+
 2014-10-16  DJ Delorie  <dj@redhat.com>
 
        * tree-core.h: Fix comment to not assume pointers are multiples of
index a6cf363957657b121f2594661df5e02711059c57..dcb53dfa897be40921c0b75c9be9ba577b5ae0de 100644 (file)
 {
   if (<MODE>mode == V16SFmode)
     emit_insn (gen_ufloatv16siv16sf2 (operands[0], operands[1]));
+  else
+    if (TARGET_AVX512VL)
+      {
+       if (<MODE>mode == V4SFmode)
+         emit_insn (gen_ufloatv4siv4sf2 (operands[0], operands[1]));
+       else
+         emit_insn (gen_ufloatv8siv8sf2 (operands[0], operands[1]));
+      }
   else
     ix86_expand_vector_convert_uns_vsivsf (operands[0], operands[1]);