This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/83604] [8 Regression] ICE in copy_to_mode_reg, at explow.c:630
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Dec 2017 17:31:19 +0000
- Subject: [Bug target/83604] [8 Regression] ICE in copy_to_mode_reg, at explow.c:630
- Auto-submitted: auto-generated
- References: <bug-83604-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83604
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I actually see a different ICE on sse-13.c without any command line options,
reduced into:
typedef short V __attribute__((__vector_size__(64)));
__attribute__((target ("avx512vbmi2"))) V
foo (V x, V y, V z)
{
return __builtin_ia32_vpshrdv_v32hi (x, y, z);
}
This ICEs because __builtin_ia32_vpshrd_v32hi builtin (correctly) only requires
AVX512VBMI2, not BW, but the actual instruction incorrectly requires also
AVX512BW.