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
* config/i386/avx512fintrin.h (_mm512_set_epi16, _mm512_set_epi8,
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
thunderxloadpair.c
blob
14b1f736093ef18256fe54a791ae361c81c9678f
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mcpu=thunderx" } */
3
4
struct
ldp
5
{
6
long long
c
;
7
int
a
,
b
;
8
};
9
10
11
int
f
(
struct
ldp
*
a
)
12
{
13
return
a
->
a
+
a
->
b
;
14
}
15
16
17
/* We know the alignement of a->a to be 8 byte aligned so it is profitable
18
to do ldp. */
19
/* { dg-final { scan-assembler-times "ldp\tw\[0-9\]+, w\[0-9\]" 1 } } */
20