Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/simd/low-high-combine_1.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O" } */
3 /* { dg-final { check-function-bodies "**" "" "" } } */
4
5 #include <arm_neon.h>
6
7 /*
8 ** foo_le: { target aarch64_little_endian }
9 ** ret
10 */
11
12 int32x4_t
13 foo_le (int32x4_t a)
14 {
15 return vcombine_s32 (vget_low_s32 (a), vget_high_s32 (a));
16 }
17
18 /*
19 ** foo_be: { target aarch64_big_endian }
20 ** ret
21 */
22
23 int32x4_t
24 foo_be (int32x4_t a)
25 {
26 return vcombine_s32 (vget_high_s32 (a), vget_low_s32 (a));
27 }
28