PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / udivmod-3.c
blobf2ac4e5dae87afc72a1fd9135b3ede51f7dcb3da
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -m8bit-idiv" } */
4 unsigned int
5 foo (unsigned int x, unsigned int y)
7 return x % y;
10 /* { dg-final { scan-assembler-times "divb" 1 } } */
11 /* { dg-final { scan-assembler-times "divl" 1 } } */