re PR target/89726 (Incorrect inlined version of 'ceil' for 32bit)
authorJakub Jelinek <jakub@redhat.com>
Tue, 19 Mar 2019 07:25:59 +0000 (08:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 19 Mar 2019 07:25:59 +0000 (08:25 +0100)
commitce2c025c2480b6d36eb25b3aae877141ab4c3a5d
tree69f03b83883ad63d4bb303e381209b838c4642bb
parent855cd9b166c70a6e5a90e342314e71203f15b8f4
re PR target/89726 (Incorrect inlined version of 'ceil' for 32bit)

PR target/89726
* config/i386/i386.c (ix86_expand_floorceildf_32): In ceil
compensation use x2 += 1 instead of x2 -= -1 and when honoring
signed zeros, do another copysign after the compensation.

* gcc.target/i386/fpprec-1.c (x): Add 6 new constants.
(expect_round, expect_rint, expect_floor, expect_ceil, expect_trunc):
Add expected results for them.

From-SVN: r269790
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/fpprec-1.c