blob: a567d7d9f502be15431a7a9bb5b81e26ba622315 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -msoft-div" } */
int calc (int a, int b, int c) {
return a * b / c;
}
/* { dg-final { scan-assembler "l.mul" } } */
/* { dg-final { scan-assembler-not "l.div" } } */