Handle T_HRESULT types in CodeView records
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / ti_math1.c
blobcdf925100484cc230b672eb7747244982bb0fbd2
1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-times "addc" 1 } } */
4 /* { dg-final { scan-assembler-times "adde" 1 } } */
5 /* { dg-final { scan-assembler-times "subfc" 1 } } */
6 /* { dg-final { scan-assembler-times "subfe" 1 } } */
7 /* { dg-final { scan-assembler-not "subf " } } */
9 __int128
10 add_128 (__int128 *ptr, __int128 val)
12 return (*ptr + val);
15 __int128
16 sub_128 (__int128 *ptr, __int128 val)
18 return (*ptr - val);