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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr52686.c
blob
66cbc575eeca07a0c45fd35ed7c51e8cc8ef8f66
1
/* PR target/52375 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target arm_neon_ok } */
4
/* { dg-options "-march=armv7-a -mfloat-abi=softfp -mfpu=neon -O -ftree-vectorize" } */
5
6
unsigned int
output
[
4
];
7
8
void
test
(
unsigned short
*
p
)
9
{
10
unsigned int
x
= *
p
;
11
if
(
x
)
12
{
13
output
[
0
] =
x
<<
1
;
14
output
[
1
] =
x
<<
1
;
15
output
[
2
] =
x
<<
1
;
16
output
[
3
] =
x
<<
1
;
17
}
18
}
19