[Bug target/89229] [7/8/9 Regression] Unnecessary ZMM in movoi_internal_avx/movti_internal

hjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 8 11:31:00 GMT 2019


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


More information about the Gcc-bugs mailing list