Enable VAES support [5/5]
authorJulia Koval <julia.koval@intel.com>
Fri, 15 Dec 2017 05:04:33 +0000 (06:04 +0100)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 15 Dec 2017 05:04:33 +0000 (05:04 +0000)
commit549fa5843dd13df696920b030f54eed1dcfbfe73
tree1de9a2cf6b4d31885515b4dfd9dd6d625ef098eb
parent5a5d179739d7d3deaaf3d9788e8ddbd50ca35f00
Enable VAES support [5/5]

gcc/
* config/i386/i386-builtin.def (__builtin_ia32_vaesenclast_v16qi,
__builtin_ia32_vaesenclast_v32qi, __builtin_ia32_vaesenclast_v64qi): New.
* config/i386/sse.md (vaesenclast_<mode>): New pattern.
* config/i386/vaesintrin.h (_mm256_aesenclast_epi128,
_mm512_aesenclast_epi128, _mm_aesenclast_epi128): New intrinsics.

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

From-SVN: r255676
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-aesenclast-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512fvl-vaes-1.c
gcc/testsuite/gcc.target/i386/avx512vl-aesenclast-2.c [new file with mode: 0644]