]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Disable SImode/DImode moves from/to mask regs without avx512bw [PR118067]
authorUros Bizjak <ubizjak@gmail.com>
Mon, 20 Jan 2025 15:19:43 +0000 (16:19 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Mon, 20 Jan 2025 15:19:43 +0000 (16:19 +0100)
commit9a1efd1ee2509abb93878bd911d8c07143b10e33
treedfff7b2d0fef217313bfbc2d6c7167d35b3fe4f8
parent7bb462dd2a6a6551d142e7ad983fa2afd1df9253
i386: Disable SImode/DImode moves from/to mask regs without avx512bw [PR118067]

SImode and DImode moves from/to mask registers are valid only with AVX512BW,
so mark relevant alternatives in *movsi_internal and *movdi_internal as such.

PR target/118067

gcc/ChangeLog:

* config/i386/i386.md (*movdi_internal):
Disable alternatives from/to mask registers without AVX512BW.
(*movsi_internal): Ditto.
gcc/config/i386/i386.md