PR target/26915
commit9463bbd33ea555b5276d010e6a3788e41786ce61
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Nov 2006 23:12:16 +0000 (4 23:12 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Nov 2006 23:12:16 +0000 (4 23:12 +0000)
tree1f29387249718cd32722242f7c6193731a127f13
parentdc343ad40ff20df43c5b0a9c4413f0c1889f2407
    PR target/26915
        * config/i386/i386.c (standard_80387_constant_p): Treat -0.0 and -1.0
        as a valid 80387 constant.
        (standard_80387_constant_opcode): Return "#" for -0.0 and -1.0.
        * config/i386/i386.md (unnamed splitter): Split the load of
        constant -0.0 or -1.0  into the load of 0.0 or 1.0, followed
        by negation.

testsuite/ChangeLog:

        PR target/26915
        * gcc.target/i386/387-12.c: New test.
~

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118484 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/387-12.c [new file with mode: 0644]