aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/i386-pentium4-not-mull.c
blob: 2df07822ded506132d33391b29265c7238c66e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -march=pentium4" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -march=pentium4 -m32" { target x86_64-*-* } } */
/* { dg-final { scan-assembler-not "imull" } } */

/* Should be done not using imull.  */
int t(int x)
{
  return x*29;
}