i386: Fix atan2l argument order [PR93743]
authorUros Bizjak <ubizjak@gmail.com>
Sun, 16 Feb 2020 20:38:39 +0000 (21:38 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Sun, 16 Feb 2020 20:38:39 +0000 (21:38 +0100)
commit6e37e49616d429c5d922324ebd72ae95f12a079f
treeba4aaaa3795396fdfd82099a91c0ace4b7926a73
parent72700543b67561ab6a466e93b4c0d4fa8e6530e6
i386: Fix atan2l argument order [PR93743]

PR target/93743
* config/i386/i386.md (atan2xf3): Swap operands 1 and 2.
(atan2<mode>3): Update operand order in the call to gen_atan2xf3.

testsuite/ChangeLog:

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