2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / divmod-3.c
blob4b84436999c34a6125143684b3feced87af45572
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -m8bit-idiv" } */
4 int
5 foo (int x, int y)
7 return x % y;
10 /* { dg-final { scan-assembler-times "divb" 1 } } */
11 /* { dg-final { scan-assembler-times "idivl" 1 } } */