mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:50:51 +08:00
* gcc.dg/i386-fpcvt-1.c: New test.
From-SVN: r62627
This commit is contained in:
parent
63a3b0a700
commit
637df4f4ba
@ -1,3 +1,7 @@
|
||||
Mon Feb 10 11:41:20 CET 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* gcc.dg/i386-fpcvt-1.c: New test.
|
||||
|
||||
2002-02-09 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* gcc.c-torture/execute/20030209-1.c: New test.
|
||||
|
10
gcc/testsuite/gcc.dg/i386-fpcvt-4.c
Normal file
10
gcc/testsuite/gcc.dg/i386-fpcvt-4.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O2 -march=k8 -mfpmath=sse" } */
|
||||
/* { dg-final { scan-assembler "cvtsi2sd" } } */
|
||||
/* Check that conversions will get folded. */
|
||||
double
|
||||
t(short a)
|
||||
{
|
||||
float b=a;
|
||||
return b;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user