diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-27 08:47:33 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-27 08:47:33 +0000 |
commit | 9bba11be8bdade25879067b132349f453c747413 (patch) | |
tree | 9635aa5f9cdf13806e97dda6eb07ecc7e547c05a /gcc/testsuite/gcc.target/i386/darwin-fpmath.c | |
parent | 0a4a729876430adcc4f271aaa6d7108b27489020 (diff) | |
download | gcc-9bba11be8bdade25879067b132349f453c747413.tar.gz |
* gcc.dg/arm-eabi1.c, gcc.dg/symbian1.c, cc.dg/symbian2.c,
gcc.dg/symbian3.c, gcc.dg/symbian4.c, gcc.dg/symbian5.c,
gcc.dg/20051215-1.c: Move to gcc.target/arm directory.
* gcc.dg/const-compare.c, gcc.dg/non-lazy-ptr-test.c,
gcc.dg/unsigned-long-compare.c, gcc.dg/rs6000-leaf.c: Move to
gcc.target/powerpc directory.
* gcc.dg/m68k-pic-1.c, gcc.dg/m68k-slp-ice.c: Move to
gcc.target/m68k directory.
* gcc.dg/i386-darwin-fpmath.c: Move to gcc.target/i386 directory.
* gcc.dg/cris-peep2-andu1.c, gcc.dg/cris-peep2-andu2.c,
gcc.dg/cris-peep2-xsrand.c, gcc.dg/cris-peep2-xsrand2.c: Move to
gcc.target/cris directory.
* gcc.dg/20020620-1.c: Move to gcc.target/mips directory.
* gcc.dg/bfin-longcall-1.c, gcc.dg/bfin-longcall-2.c: Move to
gcc.target/bfin directory.
* gcc.target/sh: New directory.
* gcc.target/sh/sh.exp: New file.
* gcc.dg/pr21255-1.c, gcc.dg/pr21255-2-mb.c, gcc.dg/pr21255-2-ml.c,
gcc.dg/pr21255-3.c, gcc.dg/pr21255-4.c, gcc.dg/sh4a-bitmovua.c,
gcc.dg/sh4a-cos.c, gcc.dg/sh4a-cosf.c, gcc.dg/sh4a-fprun.c,
gcc.dg/sh4a-fsrra.c, gcc.dg/sh4a-memmovua.c, gcc.dg/sh4a-sin.c,
gcc.dg/sh4a-sincosf.c, gcc.dg/sh4a-sinf.c gcc.dg/sh-relax.c,
gcc.dg/sh-relax-vxworks.c: Move to gcc.target/sh directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/darwin-fpmath.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/darwin-fpmath.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/darwin-fpmath.c b/gcc/testsuite/gcc.target/i386/darwin-fpmath.c new file mode 100644 index 00000000000..7db69467089 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/darwin-fpmath.c @@ -0,0 +1,9 @@ +/* { dg-do compile { target i?86-*-darwin* } } */ +/* { dg-final { scan-assembler "addsd" } } */ +/* Do not add -msse or -msse2 or -mfpmath=sse to the options. GCC is + supposed to use SSE math on Darwin by default, and libm won't work + right if it doesn't. */ +double foo(double x, double y) +{ + return x + y; +} |