re PR target/32065 (Many dfp testsuite failures for -msse targets)

PR target/32065
        * config/i386/i386.md (movti): Handle push operands via
        ix86_expand_push().

testsuite/ChangeLog:

        PR target/32065
        * gcc.target/i386/pr32065-1.c: Rename from pr32065.c.  Add -std=gnu99
        to compile options.
        * gcc.target/i386/pr32065-2.c: New test.

From-SVN: r125102
This commit is contained in:
Uros Bizjak 2007-05-26 23:35:41 +02:00 committed by Uros Bizjak
parent 88fdfd5a86
commit 72bd078f6e
5 changed files with 30 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-05-26 Uros Bizjak <ubizjak@gmail.com>
PR target/32065
* config/i386/i386.md (movti): Handle push operands via
ix86_expand_push().
2007-05-26 Kazu Hirata <kazu@codesourcery.com>
* basic-block.h: Remove the prototype for merge_seq_blocks.

View File

@ -2176,6 +2176,8 @@
{
if (TARGET_64BIT)
ix86_expand_move (TImode, operands);
else if (push_operand (operands[0], TImode))
ix86_expand_push (TImode, operands[1]);
else
ix86_expand_vector_move (TImode, operands);
DONE;

View File

@ -1,3 +1,10 @@
2007-05-26 Uros Bizjak <ubizjak@gmail.com>
PR target/32065
* gcc.target/i386/pr32065-1.c: Rename from pr32065.c. Add -std=gnu99
to compile options.
* gcc.target/i386/pr32065-2.c: New test.
2007-05-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/31813
@ -13,7 +20,7 @@
PR tree-opt/32090
* g++.dg/opt/array2.C: New testcase.
007-05-26 Uros Bizjak <ubizjak@gmail.com>
2007-05-26 Uros Bizjak <ubizjak@gmail.com>
PR target/32065
* gcc.target/i386/pr32065.c: New test.

View File

@ -1,5 +1,5 @@
/* { dg-do compile { target dfp } } */
/* { dg-options "-msse" } */
/* { dg-options "-msse -std=gnu99" } */
_Decimal128 test (void)
{

View File

@ -0,0 +1,13 @@
/* { dg-do run { target dfp } } */
/* { dg-options "-Os -msse -std=gnu99" } */
extern void abort (void);
int main()
{
if (7.999999999999999999999999999999999E6144dl + 3.0E6144dl
!= __builtin_infd32 ())
abort ();
return 0;
}