Handle T_HRESULT types in CodeView records
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / extend-divide-1.c
blob6fa4209e37b9605e285b298a70494e2d947db3b9
1 /* { dg-do compile { target { powerpc*-*-linux* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-options "-mdejagnu-cpu=power7 -O2" } */
4 /* { dg-require-effective-target powerpc_vsx } */
5 /* { dg-final { scan-assembler-times "divwe " 1 } } */
6 /* { dg-final { scan-assembler-times "divweu " 1 } } */
7 /* { dg-final { scan-assembler-not "bl __builtin" } } */
9 int
10 div_we (int a, int b)
12 return __builtin_divwe (a, b);
15 unsigned int
16 div_weu (unsigned int a, unsigned int b)
18 return __builtin_divweu (a, b);