aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr82853-2.c
blob: 0c19e9d272a0d5ca05a7f738ccbd3c27aaa031d9 (plain)
1
2
3
4
5
6
7
/* PR middle-end/82853 */
/* { dg-do compile } */
/* { dg-options "-O2 -mno-bmi2 -mtune=generic" } */
/* { dg-final { scan-assembler-times "mul\[lq]\t" 2 } } */
/* { dg-final { scan-assembler-not "div\[lq]\t" } } */

unsigned f1 (unsigned x, unsigned *y) { *y = x / 679U; return (x % 679U) == 0; }