X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.misc-tests%2Fi386-pf-none-1.c;fp=gcc%2Ftestsuite%2Fgcc.misc-tests%2Fi386-pf-none-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=bdd236ade8837a46262a3372d035ff2ffbf18ec4;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.misc-tests/i386-pf-none-1.c b/gcc/testsuite/gcc.misc-tests/i386-pf-none-1.c deleted file mode 100644 index bdd236ad..00000000 --- a/gcc/testsuite/gcc.misc-tests/i386-pf-none-1.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Test that data prefetch instructions are not generated for i386 variants - that do not support those instructions. */ - -/* { dg-do compile { target i?86-*-* } } */ - -char *msg = "howdy there"; - -void foo (char *p) -{ - __builtin_prefetch (p, 0, 0); - __builtin_prefetch (p, 0, 1); - __builtin_prefetch (p, 0, 2); - __builtin_prefetch (p, 0, 3); - __builtin_prefetch (p, 1, 0); - __builtin_prefetch (p, 1, 1); - __builtin_prefetch (p, 1, 2); - __builtin_prefetch (p, 1, 3); -} - -int main () -{ - foo (msg); - exit (0); -} - -/* { dg-final { scan-assembler-not "fetch" } } */