PR target/20421
commit411056a3f1c82da6799eec7ab2f7da0b4b4b1e9e
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 05:23:14 +0000 (5 05:23 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2005 05:23:14 +0000 (5 05:23 +0000)
treeb6538ba455f8b329a4f7b2840d60e0bdf7914ba5
parent1bcdd2a0636a56388c56f86cf05a64e84512d6cb
PR target/20421
* config/i386/i386.md (frndintxf2_floor, frndintxf2_ceil)
(frndintxf2_trunc, frndintxf2_mask_pm): Add FLAGS_REG clobber.
Allocate local stack slots here.  Set ix86_optimize_mode_switching.
flag here. Implement using define_insn_and_split.
(frndintxf2_floor_i387, frndintxf2_ceil_i387, frndintxf2_trunc_i387)
(frndintxf2_mask_pm_i387): New insn patterns.
(floorsf2, floordf2, floorxf2): Remove local stack slot allocations.
Do not set ix86_optimize_mode_switching flag.
(ceilsf2, ceildf2, ceilxf2): Same.
(btruncsf2, btruncdf2, btruncxf2): Same.
(nearbyintsf2, nearbyintdf2, nearbyintxf2): Same.

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