]> git.ipfire.org Git - thirdparty/gcc.git/commit
reg-stack.c (subst_stack_regs_pat): Handle <UNSPEC_FIST_FLOOR> and <UNSPEC_FIST_CEIL...
authorUros Bizjak <uros@kss-loka.si>
Thu, 14 Apr 2005 11:31:04 +0000 (13:31 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 14 Apr 2005 11:31:04 +0000 (13:31 +0200)
commit4a92766451afff12822ab80719988849ad9abea0
tree10f9970687d86f79e9d680bc125b4ae6668a598c
parent2ec76fdb2413bee3123b322e4f4259ba9f9c8310
reg-stack.c (subst_stack_regs_pat): Handle <UNSPEC_FIST_FLOOR> and <UNSPEC_FIST_CEIL> case.

* reg-stack.c (subst_stack_regs_pat): Handle <UNSPEC_FIST_FLOOR> and
<UNSPEC_FIST_CEIL> case.

* config/i386/i386.md (UNSPEC_FIST_FLOOR, UNSPEC_FIST_CEIL): New.
(*fist<mode>2_floor_1, fistdi2_floor, fistdi2_floor_with_temp)
(fist<mode>2_floor, fist<mode>2_floor_with_temp): New isns patterns
to implement lfloor and llfloor built-ins as x87 intrinsic function.
(fistdi2_floor, fist<mode>2_floor splitters): New splitters.
(lfloor<mode>2): New expanders.
(*fist<mode>2_ceil_1, fistdi2_ceil, fistdi2_ceil_with_temp)
(fist<mode>2_ceil, fist<mode>2_ceil_with_temp): New isns patterns
to implement lceil and llceil built-ins as x87 intrinsic function.
(fistdi2_ceil, fist<mode>2_ceil splitters): New splitters.
(lceil<mode>2): New expanders.

From-SVN: r98132
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/reg-stack.c