OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Commit for Jiangning.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
r10k-cache-barrier-13.c
1
/* { dg-options "-O2 -mr10k-cache-barrier=store" } */
2
3
/* Test that indirect calls are protected. */
4
5
int bar (int);
6
7
NOMIPS16 void
8
foo (void (*fn) (void), int x)
9
{
10
if (x)
11
(*fn) ();
12
}
13
14
/* { dg-final { scan-assembler-times "\tcache\t" 1 } } */