i386: Fix <rounding_insn><mode>2 expander [PR95255]
authorUros Bizjak <ubizjak@gmail.com>
Fri, 22 May 2020 16:02:49 +0000 (18:02 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Fri, 22 May 2020 16:02:49 +0000 (18:02 +0200)
commit1a030003858d853f564ed354f1cb579c03db17ef
tree540d4b93c0ccec72518d932d3fbe3a6b3ef3cf77
parentbcb63eb2cbd3caf212b9cf42d8c218c09dc6ff8b
i386: Fix <rounding_insn><mode>2 expander [PR95255]

2020-05-22  Uroš Bizjak  <ubizjak@gmail.com>

gcc/ChangeLog:
PR target/95255
* config/i386/i386.md (<rounding_insn><mode>2): Do not try to
expand non-sse4 ROUND_ROUNDEVEN rounding via SSE support routines.

gcc/testsuite/ChangeLog:
PR target/95255
* gcc.target/i386/pr95255.c: New test.
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr95255.c [new file with mode: 0644]