1 /* { dg-do compile } */
2 /* { dg-options "-O2 -m8bit-idiv" } */
4 extern void foo (unsigned int, unsigned int, unsigned int,
5 unsigned int, unsigned int, unsigned int);
8 bar (unsigned int x
, unsigned int 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 "divl" 1 } } */