Handle T_HRESULT types in CodeView records
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / ppc-fpconv-4.c
blob9db22cb70196c21c18553876b62be6dd13e61dec
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target ilp32 } */
4 /* { dg-require-effective-target powerpc_fprs } */
5 /* { dg-skip-if "" { powerpc*-*-* } { "-mpowerpc64" } } */
6 /* { dg-options "-O2 -mdejagnu-cpu=750 -ffast-math" } */
7 /* { dg-final { scan-assembler-not "lfiwax" } } */
8 /* { dg-final { scan-assembler-not "lfiwzx" } } */
9 /* { dg-final { scan-assembler-not "fcfid " } } */
10 /* { dg-final { scan-assembler-not "fcfids " } } */
11 /* { dg-final { scan-assembler-not "fcfidus " } } */
12 /* { dg-final { scan-assembler-not "fcfidu " } } */
13 /* { dg-final { scan-assembler-not "xscvsxddp " } } */
14 /* { dg-final { scan-assembler-not "xscvuxddp " } } */
16 void int_to_float (float *dest, int *src)
18 *dest = (float) *src;
21 void int_to_double (double *dest, int *src)
23 *dest = (double) *src;
26 void uint_to_float (float *dest, unsigned int *src)
28 *dest = (float) *src;
31 void uint_to_double (double *dest, unsigned int *src)
33 *dest = (double) *src;
36 void llong_to_float (float *dest, long long *src)
38 *dest = (float) *src;
41 void llong_to_double (double *dest, long long *src)
43 *dest = (double) *src;
46 void ullong_to_float (float *dest, unsigned long long *src)
48 *dest = (float) *src;
51 void ullong_to_double (double *dest, unsigned long long *src)
53 *dest = (double) *src;