1 /* { dg-do compile { target { ! { ia32 } } } } */
2 /* { dg-options "-O2 -m8bit-idiv" } */
4 extern void foo (long long, long long, long long, long long,
8 bar (long long x
, long long y
)
10 foo (0, 0, 0, 0, x
/ y
, x
% y
);
13 /* { dg-final { scan-assembler-times "divb" 1 } } */
14 /* { dg-final { scan-assembler-times "idivq" 1 } } */