Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.target
/
or1k
/
div-mul-1.c
blob: a5e8d286545b9377009d7217e0c687824e51898d [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -msoft-mul -msoft-div" } */
int
calc
(
int
a
,
int
b
,
int
c
)
{
return
a
*
b
/
c
;
}
/* { dg-final { scan-assembler-not "l.mul" } } */
/* { dg-final { scan-assembler-not "l.div" } } */