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
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
peep-ldrd-1.c
blob
eb2b86ee7b6dcde4d420403d650923b0e30422f9
1
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_prefer_ldrd_strd } */
3
/* { dg-options "-O2" } */
4
int
foo
(
int
a
,
int
b
,
int
*
p
,
int
*
q
)
5
{
6
a
=
p
[
2
] +
p
[
3
];
7
*
q
=
a
;
8
*
p
=
a
;
9
return
a
;
10
}
11
/* { dg-final { scan-assembler "ldrd" } } */