comparison gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bfcvtnq2-untied.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
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 ** mov v0.16b, v1.16b
13 ** bfcvtn2 v0.8h, v2.4s
14 ** ret
15 */
16 bfloat16x8_t test_bfcvtnq2_untied (bfloat16x8_t unused, bfloat16x8_t inactive,
17 float32x4_t a)
18 {
19 return vcvtq_high_bf16_f32 (inactive, a);
20 }