diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2013-01-24 14:03:40 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2013-01-24 14:03:40 +0100 |
commit | 593c0dddb7f21185d46b6a01ebc0c4c86248c738 (patch) | |
tree | 3047102f078fa2aca11807b0296f305953b13f80 /gcc/testsuite | |
parent | 91f4a9e332b143dcdcb670ce8fa7cd83304787d5 (diff) | |
download | gcc-593c0dddb7f21185d46b6a01ebc0c4c86248c738.zip gcc-593c0dddb7f21185d46b6a01ebc0c4c86248c738.tar.gz gcc-593c0dddb7f21185d46b6a01ebc0c4c86248c738.tar.bz2 |
constraints.md (Yf): New constraint.
* config/i386/constraints.md (Yf): New constraint.
* config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
of f constraint to conditionaly disable x87 register preferences.
(*movdf_internal): Ditto.
(*movsf_internal): Ditto.
testsuite/ChangeLog:
* gcc.target/i386/movsd.c: New test.
From-SVN: r195423
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/movsd.c | 15 |
2 files changed, 22 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9dda502..a2d07ae 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-01-24 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/movsd.c: New test. + 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> PR inline-asm/55934 @@ -8,9 +12,10 @@ PR fortran/56081 * gfortran.dg/select_8.f90: New. -2013-01-23 David Holsgrove <david.holsgrove@xilinx.com> +2013-01-23 David Holsgrove <david.holsgrove@xilinx.com> - * gcc.target/microblaze/microblaze.exp: Remove target_config_cflags check + * gcc.target/microblaze/microblaze.exp: Remove + target_config_cflags check. 2013-01-23 Jakub Jelinek <jakub@redhat.com> diff --git a/gcc/testsuite/gcc.target/i386/movsd.c b/gcc/testsuite/gcc.target/i386/movsd.c new file mode 100644 index 0000000..32a19e7 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/movsd.c @@ -0,0 +1,15 @@ +/* { dg-do compile } */ +/* { dg-options "-O3 -msse2 -mfpmath=sse" } */ + +volatile double y; + +void +test () +{ + int z; + + for (z = 0; z < 1000; z++) + y = 1.23; +} + +/* { dg-final { scan-assembler-not "(fld|fst)" } } */ |