Sign in
gnu
/
gcc
/
refs/heads/devel/omp/gcc-9
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
udivmod-2.c
blob: 2bba8f3c954d96d508c34a10ca212616b097e152 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -m8bit-idiv" } */
unsigned
int
foo
(
unsigned
int
x
,
unsigned
int
y
)
{
return
x
/
y
;
}
/* { dg-final { scan-assembler-times "divb" 1 } } */
/* { dg-final { scan-assembler-times "divl" 1 } } */