Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bf16_get-be.c

raw
1 /* { dg-do assemble { target { aarch64*-*-* } } } */
2 /* { dg-require-effective-target stdint_types_mbig_endian } */
3 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
4 /* { dg-add-options arm_v8_2a_bf16_neon } */
5 /* { dg-additional-options "-mbig-endian -save-temps" } */
6 /* { dg-final { check-function-bodies "**" "" {-O[^0]} } } */
7 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
8
9 #include <arm_neon.h>
10
11 /*
12 **test_vget_low_bf16:
13 ** ret
14 */
15 bfloat16x4_t test_vget_low_bf16 (bfloat16x8_t a)
16 {
17 return vget_low_bf16 (a);
18 }
19
20 /*
21 **test_vget_high_bf16:
22 ** dup d0, v0.d\[1\]
23 ** ret
24 */
25 bfloat16x4_t test_vget_high_bf16 (bfloat16x8_t a)
26 {
27 return vget_high_bf16 (a);
28 }