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 <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: r216190
This commit is contained in:
Alexander Ivchenko 2014-10-14 08:49:23 +00:00 committed by Kirill Yukhin
parent 7c3a34ae94
commit 9945a4328a
3 changed files with 18 additions and 2 deletions

View file

@ -1,3 +1,17 @@
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_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 <alexander.ivchenko@intel.com> 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
Maxim Kuznetsov <maxim.kuznetsov@intel.com> Maxim Kuznetsov <maxim.kuznetsov@intel.com>
Anna Tikhonova <anna.tikhonova@intel.com> Anna Tikhonova <anna.tikhonova@intel.com>

View file

@ -17540,8 +17540,10 @@ ix86_expand_vector_logical_operator (enum rtx_code code, enum machine_mode mode,
{ {
case V4SFmode: case V4SFmode:
case V8SFmode: case V8SFmode:
case V16SFmode:
case V2DFmode: case V2DFmode:
case V4DFmode: case V4DFmode:
case V8DFmode:
dst = gen_reg_rtx (GET_MODE (SUBREG_REG (op1))); dst = gen_reg_rtx (GET_MODE (SUBREG_REG (op1)));
if (GET_CODE (op2) == CONST_VECTOR) if (GET_CODE (op2) == CONST_VECTOR)
{ {

View file

@ -264,8 +264,8 @@
;; All vector integer modes ;; All vector integer modes
(define_mode_iterator VI (define_mode_iterator VI
[(V16SI "TARGET_AVX512F") (V8DI "TARGET_AVX512F") [(V16SI "TARGET_AVX512F") (V8DI "TARGET_AVX512F")
(V32QI "TARGET_AVX") V16QI (V64QI "TARGET_AVX512BW") (V32QI "TARGET_AVX") V16QI
(V16HI "TARGET_AVX") V8HI (V32HI "TARGET_AVX512BW") (V16HI "TARGET_AVX") V8HI
(V8SI "TARGET_AVX") V4SI (V8SI "TARGET_AVX") V4SI
(V4DI "TARGET_AVX") V2DI]) (V4DI "TARGET_AVX") V2DI])