r255461 - in /trunk/gcc: ChangeLog config.gcc c...

kyukhin@gcc.gnu.org kyukhin@gcc.gnu.org
Thu Dec 7 06:28:00 GMT 2017


Author: kyukhin
Date: Thu Dec  7 06:28:55 2017
New Revision: 255461

URL: https://gcc.gnu.org/viewcvs?rev=255461&root=gcc&view=rev
Log:
Enable VAES support [2/5]

gcc/
	* config.gcc: Add vaesintrin.h.
	* config/i386/i386-builtin-types.def (V64QI_FTYPE_V64QI_V64QI): New type.
	* config/i386/i386-builtin.def (__builtin_ia32_vaesdec_v16qi,
	__builtin_ia32_vaesdec_v32qi, __builtin_ia32_vaesdec_v64qi): New builtins.
	* config/i386/i386.c (ix86_expand_args_builtin): Handle new type.
	* config/i386/immintrin.h: Include vaesintrin.h.
	* config/i386/sse.md (vaesdec_<mode>): New pattern.
	* config/i386/vaesintrin.h (_mm256_aesdec_epi128, _mm512_aesdec_epi128,
	_mm_aesdec_epi128): New intrinsics.

gcc/testsuite/
	* gcc.target/i386/avx512-check.h: Handle bit_VAES.
	* gcc.target/i386/avx512f-aesdec-2.c: New test.
	* gcc.target/i386/avx512fvl-vaes-1.c: Ditto.
	* gcc.target/i386/avx512vl-aesdec-2.c: Ditto.
	* gcc.target/i386/i386.exp (check_effective_target_avx512vaes): New.

Added:
    trunk/gcc/config/i386/avx512vnniintrin.h
    trunk/gcc/config/i386/avx512vnnivlintrin.h
    trunk/gcc/testsuite/gcc.target/i386/avx512f-vnni-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512f-vpdpbusd-2.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vnni-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vpdpbusd-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
    trunk/gcc/config/i386/i386-builtin.def
    trunk/gcc/config/i386/immintrin.h
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/avx512-check.h
    trunk/gcc/testsuite/gcc.target/i386/i386.exp



More information about the Gcc-cvs mailing list