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
2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
ldp_stp_3.c
blob
e257654a5ccab11c5995361fa8103116ae62326d
1
/* { dg-options "-O2" } */
2
3
extern
void
abort
(
void
);
4
5
unsigned int
arr
[
4
][
4
] = {{
0
,
1
,
1
,
2
}, {
2
,
2
,
1
,
2
}, {
1
,
2
,
1
,
1
}, {
1
,
2
,
2
,
0
}};
6
unsigned long long
7
foo
()
8
{
9
unsigned long long
ll
=
0
;
10
ll
+=
arr
[
1
][
0
];
11
ll
+=
arr
[
1
][
1
];
12
return
ll
;
13
}
14
15
/* { dg-final { scan-assembler-times "ldp\tw\[0-9\]+, w\[0-9\]" 1 } } */