2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / udivmod-2.c
blob2bba8f3c954d96d508c34a10ca212616b097e152
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 } } */