Commit 637df4f4 by Jan Hubicka Committed by Jan Hubicka

* gcc.dg/i386-fpcvt-1.c: New test.

From-SVN: r62627
parent 63a3b0a7
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.
......
/* { 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment