https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229
--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Fri Feb 8 11:30:53 2019 New Revision: 268678 URL: https://gcc.gnu.org/viewcvs?rev=268678&root=gcc&view=rev Log: i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL OImode and TImode moves must be done in XImode to access upper 16 vector registers without AVX512VL. With AVX512VL, we can access upper 16 vector registers in OImode and TImode. PR target/89229 * config/i386/i386.md (*movoi_internal_avx): Set mode to XI for upper 16 vector registers without TARGET_AVX512VL. (*movti_internal): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md