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
gcc/testsuite/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
r10k-cache-barrier-5.c
1
/* { dg-options "-O2 -mr10k-cache-barrier=store -mno-abicalls -mabi=64" } */
2
3
/* Test that in-range stores to static objects do not get an unnecessary
4
cache barrier. */
5
6
int x[4];
7
void bar (void);
8
9
NOMIPS16 void
10
foo (int n)
11
{
12
while (n--)
13
{
14
x[3] = 1;
15
bar ();
16
}
17
}
18
19
/* { dg-final { scan-assembler-not "\tcache\t" } } */