i386: do not use SImode mul-highpart on 64-bit (PR 82418)
authorAlexander Monakov <amonakov@ispras.ru>
Fri, 10 Aug 2018 10:13:37 +0000 (13:13 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Fri, 10 Aug 2018 10:13:37 +0000 (13:13 +0300)
commitf80d6a178ed2043c6a9a4d8076cdc72d61b67b2b
tree071fafebc13d80caa575dbcf150e2a8767285740
parent1e9168b27999c2f151e7169beabce4ee71d3eccc
i386: do not use SImode mul-highpart on 64-bit (PR 82418)

PR target/82418
* config/i386/i386.md (<s>mul<mode>3_highpart): Use DWIH mode iterator
instead of SWI48.

testsuite/
* gcc.target/i386/pr82418.c: New test.

From-SVN: r263467
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr82418.c [new file with mode: 0644]