1 /* { dg-require-effective-target int128 } */
2 /* { dg-require-effective-target power10_ok } */
3 /* { dg-options "-mdejagnu-cpu=power10 -O2" } */
5 unsigned __int128
u_div(unsigned __int128 a
, unsigned __int128 b
)
10 unsigned __int128
u_mod(unsigned __int128 a
, unsigned __int128 b
)
14 __int128
s_div(__int128 a
, __int128 b
)
19 __int128
s_mod(__int128 a
, __int128 b
)
24 /* { dg-final { scan-assembler {\mvdivsq\M} } } */
25 /* { dg-final { scan-assembler {\mvdivuq\M} } } */
26 /* { Fail due to RS6000_DISABLE_SCALAR_MODULO. */
27 /* { dg-final { scan-assembler {\mvmodsq\M} { xfail *-*-* } } } */
28 /* { dg-final { scan-assembler {\mvmoduq\M} { xfail *-*-* } } } */