https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109117
Bug ID: 109117
Summary: "__builtin_ia32_vaesdec_v16qi" compiled only with
option -mvaes report ICE.
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: lin1.hu at intel dot com
Target Milestone: ---
When the compiler compiles "__builtin_ia32_vaesdec_v16qi" with option
-mvaes,-no-avx512vl, it reports ICE.
The detail can refer to https://godbolt.org/z/fEGavbGWz.
Test-case:
typedef char __v16qi __attribute__ ((__vector_size__(16)));
typedef long long __m128i __attribute__((__vector_size__(16),
__aligned__(16)));
volatile __v16qi x, y;
volatile __m128i res;
void
foo (void)
{
res = (__m128i) __builtin_ia32_vaesdec_v16qi (x, y);
}