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
2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr53447-5.c
blob
35988f404f93179e683d18a7db3172624c209e3f
1
/* { dg-do compile } */
2
/* { dg-options "-Os -mthumb" } */
3
/* { dg-require-effective-target arm_thumb2_ok } */
4
5
void
foo
(
long long
*
p
)
6
{
7
p
[
1
] |=
0x100000001
;
8
p
[
2
] &=
0x100000001
;
9
p
[
3
] ^=
0x100000001
;
10
p
[
4
] +=
0x100000001
;
11
p
[
5
] -=
0x100000001
;
12
p
[
6
] = ~
p
[
6
];
13
p
[
7
] <<=
5
;
14
p
[
8
] >>=
5
;
15
p
[
9
] -=
p
[
10
];
16
}
17
18
/* { dg-final { scan-assembler-times "ldrd" 10 } } */
19
/* { dg-final { scan-assembler-times "strd" 9 } } */