1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=atom" } */
3
4 unsigned char
foo(unsigned char x,unsigned char y)5 foo (unsigned char x, unsigned char y)
6 {
7 return x % y;
8 }
9
10 /* { dg-final { scan-assembler-times "divb" 1 } } */
11 /* { dg-final { scan-assembler-not "divw" } } */
12