blob: 0e73b27360888d7e41e803de096893a02a07b101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-options "-O2 -m8bit-idiv" } */
int
foo (int x, int y)
{
return x / y;
}
/* { dg-final { scan-assembler-times "divb" 1 } } */
/* { dg-final { scan-assembler-times "idivl" 1 } } */
|