Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
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" } } */