Enable VAES support [3/5]
authorJulia Koval <julia.koval@intel.com>
Fri, 15 Dec 2017 04:05:17 +0000 (05:05 +0100)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 15 Dec 2017 04:05:17 +0000 (04:05 +0000)
commit0ccdce5f5fba6f5aac01e235382c96c7793efd0a
tree5f60851216a132e09ee30032d993e92cf9cfbcc4
parent99197a848123614bd44b73b591b8f0446defe33c
Enable VAES support [3/5]

gcc/
* config/i386/i386-builtin.def (__builtin_ia32_vaesdeclast_v16qi,
__builtin_ia32_vaesdeclast_v32qi, __builtin_ia32_vaesdeclast_v64qi): New.
* config/i386/sse.md (vaesdeclast_<mode>): New pattern.
* config/i386/vaesintrin.h (_mm256_aesdeclast_epi128,
_mm512_aesdeclast_epi128, _mm_aesdeclast_epi128): New intrinsics.

gcc/testsuite/
* gcc.target/i386/avx512f-aesdeclast-2.c: New test.
* gcc.target/i386/avx512vl-aesdeclast-2.c
* gcc.target/i386/avx512fvl-vaes-1.c: Handle new intrinsics.

From-SVN: r255674
gcc/ChangeLog
gcc/config/i386/i386-builtin.def
gcc/config/i386/sse.md
gcc/config/i386/vaesintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-aesdeclast-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512fvl-vaes-1.c
gcc/testsuite/gcc.target/i386/avx512vl-aesdeclast-2.c [new file with mode: 0644]