Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / gcc.target / sparc / vis3move-1.c
blob1265d8866897f24726a1085e91ecfd8e91ad5190
1 /* { dg-do compile } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-O1 -mvis3" } */
5 double d;
6 float f;
8 int test_convert_from_float(void)
10 return f;
13 int test_convert_from_double(void)
15 return d;
18 float test_convert_to_float(int x)
20 return x;
23 double test_convert_to_double(int x)
25 return x;
28 /* { dg-final { scan-assembler-times "movstouw\t%" 2 } } */
29 /* { dg-final { scan-assembler-times "movwtos\t%" 2 } } */