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