summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/frv/fr550-builtins-3.c
blob: b5347de7452817a36877f3fe16108ed150a7bde9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test prefetch support.  */
/* { dg-do compile } */

#if __FRV_VLIW__ > 1
void foo (void *x)
{
  __data_prefetch (x);
}
#else
asm (";\tnop.p\n;\tnldub ");
#endif

/* { dg-final { scan-assembler "\tnop.p.*\tnldub " } } */