summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43766.c
blob: 731b780ba6d01376ecff7ba88e6b86115994d56f (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -msse -mregparm=3" { target ilp32 } } */

void p (int *a, int i)
{
  __builtin_prefetch (&a[i]);
}

/* { dg-final { scan-assembler-not "lea\[lq\]?\[ \t\]" } } */