repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
r10k-cache-barrier-12.c
blob
d4163910900b8795ceb0bf4cc17a6a351802dc72
1
/* { dg-options "-O2 -mr10k-cache-barrier=load-store -mno-abicalls" } */
2
3
/* Test that loads are correctly protected. */
4
5
int
bar
(
int
);
6
7
NOMIPS16
void
8
foo
(
int
*
ptr
)
9
{
10
*
ptr
=
bar
(*
ptr
);
11
}
12
13
/* { dg-final { scan-assembler-times "\tcache\t" 2 } } */