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