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
Use gather loads for strided accesses
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arc
/
arc700-stld-hazard.c
blob
eba03d8625681e7d0c42400fd92df7bb1871486b
1
/* { dg-do compile } */
2
/* { dg-options "-mcpu=arc700 -mno-sdata" } */
3
4
volatile
int
a
;
5
volatile
int
b
;
6
7
void
8
foo
()
9
{
10
a
=
1
;
11
b
=
a
;
12
}
13
14
/* { dg-final { scan-assembler "st r\[0-9\]+,\\\[@a\\\]\[^\n\]*\n\[ \t\]+nop_s\[^\n\]*\n\[ \t\]+nop_s\[^\n\]*\n\[ \t\]+ld r\[0-9\]+,\\\[@a\\\]" } } */