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 conditional internal functions in if-conversion
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
ldp_stp_2.c
blob
483f4afd2e84d36356926a9a44415c40cdd79c2a
1
/* { dg-options "-O2" } */
2
3
extern
void
abort
(
void
);
4
5
int
arr
[
4
][
4
] = {{
0
,
1
,
1
, -
1
}, {-
1
, -
1
,
1
, -
1
}, {
1
, -
1
,
1
,
1
}, {
1
, -
1
, -
1
,
0
}};
6
long long
7
foo
()
8
{
9
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 "ldpsw\tx\[0-9\]+, x\[0-9\]" 1 } } */