* config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
commitb60cce8a693ffab0e4e9494c7078a7b106db7fa1
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Feb 2003 03:09:45 +0000 (13 03:09 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Feb 2003 03:09:45 +0000 (13 03:09 +0000)
tree8f99b3141ffc1aa0b1386cc2ac0dbd502301b142
parent4988d4f9bf56c180e7632ce8d57d1b2b0a9ec02c
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62816 138bc75d-0d04-0410-961f-82ee72b054a4
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