* builtins.c (expand_builtin_int_interclass_roundingfn): New function
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 11:20:07 +0000 (11:20 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 11:20:07 +0000 (11:20 +0000)
commita67a90e5339ef259d6bf96a2e1f7e8f3364997fd
tree942a2e626dc40e269d296c1c97e6a8efef92aff0
parent56e902bdf9f034beb54fd58d5132590d2392d870
* builtins.c (expand_builtin_int_interclass_roundingfn): New function
to handle optabs that operate on floating point input argument and
output to integer output.
(expand_builtin_mathfn) [BUILT_IN_ILOGB]: Move from here ...
(expand_builtin_interclass_mathfn) [BUILT_IN_ILOGB]: ... to here.
(expand_builtin): Expand BUILT_IN_ILOGB{,F,L} using
expand_builtin_interclass_mathfn ().
* config/i386/i386.md (fxtractxf3_i387): Rename from *fxtractxf3_i387.
(ilogbsi2): Remove.
(ilogbxf2, ilogb<mode>2): New expanders to implement ilogb, ilogbf and
ilogbl built-in functions as x87 intrinsics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121336 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/config/i386/i386.md