]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: correct "length_immediate" in a few cases
authorJan Beulich <jbeulich@suse.com>
Mon, 7 Aug 2023 09:52:14 +0000 (11:52 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 7 Aug 2023 09:52:14 +0000 (11:52 +0200)
commit1a98bee8c1e1d0010fb3782a845353e366d23377
treec822b175e943888f6047ae3f1531298c43bc4881
parent80770e9043d9de2cbe49b11349435681dad29130
x86: correct "length_immediate" in a few cases

When first added explicitly in 3ddffba914b2 ("i386.md
(sse4_1_round<mode>2): Add avx512f alternative"), "*" should not have
been used for the pre-existing alternative. The attribute was plain
missing. Subsequent changes adding more alternatives then generously
extended the bogus pattern.

Apparently something similar happened to the two mmx_pblendvb_* insns.

gcc/

* config/i386/i386.md (sse4_1_round<mode>2): Make
"length_immediate" uniformly 1.
* config/i386/mmx.md (mmx_pblendvb_v8qi): Likewise.
(mmx_pblendvb_<mode>): Likewise.
gcc/config/i386/i386.md
gcc/config/i386/mmx.md