Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
divmod-2.c
blob: 0e73b27360888d7e41e803de096893a02a07b101 [
file
] [
log
] [
blame
]
/* { 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 } } */