comparison gcc/testsuite/gcc.target/arm/mve/intrinsics/vaddvaq_p_s16.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-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 int32_t
8 foo (int32_t a, int16x8_t b, mve_pred16_t p)
9 {
10 return vaddvaq_p_s16 (a, b, p);
11 }
12
13 /* { dg-final { scan-assembler "vaddvat.s16" } } */
14
15 int32_t
16 foo1 (int32_t a, int16x8_t b, mve_pred16_t p)
17 {
18 return vaddvaq_p (a, b, p);
19 }
20
21 /* { dg-final { scan-assembler "vaddvat.s16" } } */