From: Alexander Ivchenko Date: Tue, 14 Oct 2014 08:49:23 +0000 (+0000) Subject: AVX-512. 72/n. Extend VI itterator. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9945a4328a9ad2b72cfdd6a848e86d8abdfa26fd;p=gcc.git AVX-512. 72/n. Extend VI itterator. gcc/ * config/i386/i386.c (ix86_expand_vector_logical_operator): Handle V16SF and V8DF modes. * config/i386/sse.md (define_mode_iterator VI): Add V64QI and V32HI modes. Co-Authored-By: Andrey Turetskiy Co-Authored-By: Anna Tikhonova Co-Authored-By: Ilya Tocar Co-Authored-By: Ilya Verbin Co-Authored-By: Kirill Yukhin Co-Authored-By: Maxim Kuznetsov Co-Authored-By: Michael Zolotukhin From-SVN: r216190 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e8041c4ce79..b589752af4b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +2014-10-14 Alexander Ivchenko + Maxim Kuznetsov + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * config/i386/i386.c + (ix86_expand_vector_logical_operator): Handle V16SF and V8DF modes. + * config/i386/sse.md + (define_mode_iterator VI): Add V64QI and V32HI modes. + 2014-10-14 Alexander Ivchenko Maxim Kuznetsov Anna Tikhonova diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a485bb18728..c4f2da1c04d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -17540,8 +17540,10 @@ ix86_expand_vector_logical_operator (enum rtx_code code, enum machine_mode mode, { case V4SFmode: case V8SFmode: + case V16SFmode: case V2DFmode: case V4DFmode: + case V8DFmode: dst = gen_reg_rtx (GET_MODE (SUBREG_REG (op1))); if (GET_CODE (op2) == CONST_VECTOR) { diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 55c3ab82a5c..0125cd1b285 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -264,8 +264,8 @@ ;; All vector integer modes (define_mode_iterator VI [(V16SI "TARGET_AVX512F") (V8DI "TARGET_AVX512F") - (V32QI "TARGET_AVX") V16QI - (V16HI "TARGET_AVX") V8HI + (V64QI "TARGET_AVX512BW") (V32QI "TARGET_AVX") V16QI + (V32HI "TARGET_AVX512BW") (V16HI "TARGET_AVX") V8HI (V8SI "TARGET_AVX") V4SI (V4DI "TARGET_AVX") V2DI])