1 /* Test prefetch support. */
2 /* { dg-options "-mcpu=fr400" } */
5 unsigned char global
[64];
7 int foo (unsigned int *x
, int n
)
9 unsigned short local
[16];
12 __data_prefetch0 (&x
[8]);
13 __data_prefetch0 (&x
[n
]);
14 __data_prefetch0 (local
);
15 __data_prefetch0 (&local
[16]);
16 __data_prefetch0 (&local
[n
]);
17 __data_prefetch0 (global
);
18 __data_prefetch0 (&global
[32]);
19 __data_prefetch0 (&global
[n
]);