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
2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
pr68674.c
blob
c8acce3b46b7d8a4fc2c808fe0a080c939058f4f
1
/* PR target/68674 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -mcpu=generic+nosimd" } */
4
5
#include <arm_neon.h>
6
7
int8x8_t a
;
8
extern
int8x8_t b
;
9
int16x8_t e
;
10
11
void
__attribute__
((
target
(
"+simd"
)))
12
foo1
(
void
)
13
{
14
e
= (
int16x8_t
)
vaddl_s8
(
a
,
b
);
15
}
16
17
int8x8_t
__attribute__
((
target
(
"+simd"
)))
18
foo2
(
void
)
19
{
20
return
a
;
21
}
22