Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bfcvtnq2-untied.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_bfcvtnq2_untied:
12 ** (
13 ** mov v0.16b, v1.16b
14 ** bfcvtn2 v0.8h, v2.4s
15 ** |
16 ** bfcvtn2 v1.8h, v2.4s
17 ** mov v0.16b, v1.16b
18 ** )
19 ** ret
20 */
21 bfloat16x8_t test_bfcvtnq2_untied (bfloat16x8_t unused, bfloat16x8_t inactive,
22 float32x4_t a)
23 {
24 return vcvtq_high_bf16_f32 (inactive, a);
25 }