re PR target/88785 (ICE in as_a, at machmode.h:353)
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Jan 2019 23:20:19 +0000 (00:20 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Jan 2019 23:20:19 +0000 (00:20 +0100)
commit84df580f073debc208187d1ff2e5cec49989e5a9
treec30fb2e43f8205621d18e42174f6c87112352edb
parent280d970b15779754e99801b7fd6ece92ffae32c1
re PR target/88785 (ICE in as_a, at machmode.h:353)

PR target/88785
* config/i386/sse.md (float<floatunssuffix>v2div2sf2): Turn into
define_expand.
(*float<floatunssuffix>v2div2sf2): New define_insn.
(float<floatunssuffix>v2div2sf2_mask): Turn into define_expand.
(*float<floatunssuffix>v2div2sf2_mask): New define_insn.
(*float<floatunssuffix>v2div2sf2_mask_1): Replace
subrtxes (const_vector:V2SF [(const_int 0) (const_int 0)]) with
match_operands with "const0_operand" "C".

* g++.target/i386/pr88785.C: New test.

From-SVN: r267825
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/i386/pr88785.C [new file with mode: 0644]