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
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
r10k-cache-barrier-11.c
blob
936c2589d32448e67a812620cf122a5ee6694fef
1
/* { dg-options "-mr10k-cache-barrier=store -mno-abicalls" } */
2
3
/* Test that loads are not unnecessarily 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" 1 } } */