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" } } */
12 return __builtin_divwe (a
, b
);
16 div_weu (unsigned int a
, unsigned int b
)
18 return __builtin_divweu (a
, b
);