AVX-512. 74/n. Add byte/word max/mix reduction.
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Tue, 14 Oct 2014 08:52:11 +0000 (08:52 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Tue, 14 Oct 2014 08:52:11 +0000 (08:52 +0000)
commit0ab03ea08c3886ad009afda41f3cd2df7733cfb1
treedce6bb9a9e836ae11628ebd98de3cf85ed807553
parent805e20ad3883e0fd3a11454d40460e1505690fe9
AVX-512. 74/n. Add byte/word max/mix reduction.

gcc/
* config/i386/i386.c
(emit_reduc_half): Handle V64QI and V32HI mode.
* config/i386/sse.md
(define_mode_iterator VI_AVX512BW): New.
(define_expand "reduc_<code>_<mode>"): Use VI512_48F_12BW.

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: r216192
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sse.md