]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Fix mmx.md signbit expanders [PR112816]
authorJakub Jelinek <jakub@redhat.com>
Tue, 19 Dec 2023 09:24:33 +0000 (10:24 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 19 Dec 2023 09:38:06 +0000 (10:38 +0100)
commitd9b7e78dae13945dd9b296f2cca67650da0f869d
treefbcb38d83beac5a7cf8fe3c1659fc299c9f46407
parent4f6d56b11bee5361fc0c3fbf9f5aa8d838c7710a
i386: Fix mmx.md signbit expanders [PR112816]

Apparently when looking for "signbit<mode>2" vector expanders, I've only
looked at sse.md and forgot mmx.md, which has another one and the
following patch still ICEd.

2023-12-19  Jakub Jelinek  <jakub@redhat.com>

PR target/112816
* config/i386/mmx.md (signbitv2sf2): Force operands[1] into a REG.

* gcc.target/i386/sse2-pr112816-2.c: New test.

(cherry picked from commit 80e1375ed7a7a05a5a60a57e72c5ad5eba005798)
gcc/config/i386/mmx.md
gcc/testsuite/gcc.target/i386/sse2-pr112816-2.c [new file with mode: 0644]