summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/cvt-1.c
blob: 9535725e5723ca7b54e369d47283fe02db925542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8 -mfpmath=sse" } */
/* { dg-final { scan-assembler "cvttsd2si" } } */
/* { dg-final { scan-assembler "cvttss2si" } } */
int a,a1;
double b;
float b1;
t()
{
	a=b;
	a1=b1;
}