Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
i386-fpcvt-4.c
blob: 9b35c5acc6cd5ddb8e8f7f81ebd51f869bc5808a [
file
] [
log
] [
blame
]
/* { 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
;
}