Debian Codegraph @

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

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