comparison gcc/testsuite/gcc.target/arm/mve/intrinsics/vcvtq_m_f16_u16.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
2 /* { dg-add-options arm_v8_1m_mve_fp } */
3 /* { dg-additional-options "-O2" } */
4
5 #include "arm_mve.h"
6
7 float16x8_t
8 foo (float16x8_t inactive, uint16x8_t a, mve_pred16_t p)
9 {
10 return vcvtq_m_f16_u16 (inactive, a, p);
11 }
12
13 /* { dg-final { scan-assembler "vpst" } } */
14 /* { dg-final { scan-assembler "vcvtt.f16.u16" } } */
15
16 float16x8_t
17 foo1 (float16x8_t inactive, uint16x8_t a, mve_pred16_t p)
18 {
19 return vcvtq_m (inactive, a, p);
20 }
21
22 /* { dg-final { scan-assembler "vpst" } } */