blob: 8257f6520a3937b9f1109383cfc09f00d05f3ae6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
/* { 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;
}
|