aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/i386-pentium4-not-mull.c
blob: 8d4a083e5d8f1ac905f6e350bdaff25c669ff82c (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -march=pentium4" { target i?86-*-* } } */
/* { 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;
}