comparison gcc/testsuite/gcc.target/arm/mve/intrinsics/vpselq_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_ok } */
2 /* { dg-add-options arm_v8_1m_mve } */
3 /* { dg-additional-options "-O2" } */
4
5 #include "arm_mve.h"
6
7 uint16x8_t
8 foo (uint16x8_t a, uint16x8_t b, mve_pred16_t p)
9 {
10 return vpselq_u16 (a, b, p);
11 }
12
13 /* { dg-final { scan-assembler "vpsel" } } */
14
15 uint16x8_t
16 foo1 (uint16x8_t a, uint16x8_t b, mve_pred16_t p)
17 {
18 return vpselq (a, b, p);
19 }
20
21 /* { dg-final { scan-assembler "vpsel" } } */