i386.md (UNSPEC_FPATAN): New UNSPEC constant.
authorRoger Sayle <roger@eyesopen.com>
Thu, 13 Feb 2003 03:09:45 +0000 (03:09 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 13 Feb 2003 03:09:45 +0000 (03:09 +0000)
commit1fb54135beca90d49d3acbe83219311752628852
tree8f99b3141ffc1aa0b1386cc2ac0dbd502301b142
parentc4ebd83df2c1b00b1f5e9c50ffa8da9cb350b4d9
i386.md (UNSPEC_FPATAN): New UNSPEC constant.

* config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
(atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.

* reg-stack.c (subst_stack_regs_pat): Add support for binary
UNSPEC instructions (e.g. "fpatan").

* gcc.dg/i386-387-1.c: Add new test for __builtin_atan2.
* gcc.dg/i386-387-2.c: Likewise.

From-SVN: r62816
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/reg-stack.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/i386-387-1.c
gcc/testsuite/gcc.dg/i386-387-2.c