]> git.ipfire.org Git - thirdparty/gcc.git/commit
Extend lshifrtsi3_1_zext to ?k alternative.
authorliuhongt <hongtao.liu@intel.com>
Wed, 26 Jun 2024 05:07:31 +0000 (13:07 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 1 Jul 2024 01:09:59 +0000 (09:09 +0800)
commit8e1fa107a63b2e160b6bf69de4fe163dd3cebd80
treed92e0aba6efb751622a62d2a3209bfa7cbe45da6
parent5e1a9f4ccff390ae79a9b9d0d39b325f2b4ea925
Extend lshifrtsi3_1_zext to ?k alternative.

late_combine will combine lshift + zero into *lshifrtsi3_1_zext which
cause extra mov between gpr and kmask, add ?k to the pattern.

gcc/ChangeLog:

PR target/115610
* config/i386/i386.md (<*insnsi3_zext): Add alternative ?k,
enable it only for lshiftrt and under avx512bw.
* config/i386/sse.md (*klshrsi3_1_zext): New define_insn, and
add corresponding define_split after it.
gcc/config/i386/i386.md
gcc/config/i386/sse.md