Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
divmod-3.c
blob: 4b84436999c34a6125143684b3feced87af45572 [
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 } } */