1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -m8bit-idiv" } */
4 extern void abort (void);
7 test (long long x
, long long y
, long long q
, long long r
)
9 if ((x
/ y
) != q
|| (x
% y
) != r
)
13 /* { dg-final { scan-assembler-times "divb" 1 } } */
14 /* { dg-final { scan-assembler-times "idivq" 1 } } */