AVX-512. 77/n. Use blend for cond-set V32HI and V64QI.
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Tue, 14 Oct 2014 08:56:56 +0000 (08:56 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Tue, 14 Oct 2014 08:56:56 +0000 (08:56 +0000)
gcc/
* config/i386/i386.c
(ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
(ix86_expand_int_vcond): Ditto.

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: r216193

gcc/ChangeLog
gcc/config/i386/i386.c

index 79dcc11a005beb114c48bbba6c0c2128f0374add..59ae412d23bdb8942c387cd401216ceb863c0f25 100644 (file)
@@ -1,3 +1,16 @@
+2014-10-14  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/i386.c
+       (ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
+       (ix86_expand_int_vcond): Ditto.
+
 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
            Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
            Anna Tikhonova  <anna.tikhonova@intel.com>
index 9deee91bc16d95a575bf3bd26c5e18a503e4b908..698066ba838eee9a2d10e52852281a96e5e0d7c0 100644 (file)
@@ -21040,6 +21040,12 @@ ix86_expand_sse_movcc (rtx dest, rtx cmp, rtx op_true, rtx op_false)
            }
          break;
 
+       case V64QImode:
+         gen = gen_avx512bw_blendmv64qi;
+         break;
+       case V32HImode:
+         gen = gen_avx512bw_blendmv32hi;
+         break;
        case V16SImode:
          gen = gen_avx512f_blendmv16si;
          break;
@@ -21356,6 +21362,8 @@ ix86_expand_int_vcond (rtx operands[])
                }
              break;
 
+           case V64QImode:
+           case V32HImode:
            case V32QImode:
            case V16HImode:
            case V16QImode: