diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/frv/fr400-builtins-2.c')
-rw-r--r-- | gcc/testsuite/gcc.target/frv/fr400-builtins-2.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/frv/fr400-builtins-2.c b/gcc/testsuite/gcc.target/frv/fr400-builtins-2.c new file mode 100644 index 000000000..66f30055e --- /dev/null +++ b/gcc/testsuite/gcc.target/frv/fr400-builtins-2.c @@ -0,0 +1,10 @@ +/* Test prefetch support. */ +/* { dg-options "-mcpu=fr400" } */ +/* { dg-do compile } */ + +void foo (void *x) +{ + __data_prefetch0 (x); +} + +/* { dg-final { scan-assembler "\tdcpl " } } */ |