comparison gcc/testsuite/gcc.target/arm/simd/vmmla_1.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-do assemble } */
2 /* { dg-require-effective-target arm_v8_2a_i8mm_ok } */
3 /* { dg-options "-save-temps -O2 -march=armv8.2-a+i8mm" } */
4
5 #include "arm_neon.h"
6
7 int32x4_t
8 test_vmmlaq_s32 (int32x4_t r, int8x16_t a, int8x16_t b)
9 {
10 return vmmlaq_s32 (r, a, b);
11 }
12
13 uint32x4_t
14 test_vmmlaq_u32 (uint32x4_t r, uint8x16_t a, uint8x16_t b)
15 {
16 return vmmlaq_u32 (r, a, b);
17 }
18
19 int32x4_t
20 test_vusmmlaq_s32 (int32x4_t r, uint8x16_t a, int8x16_t b)
21 {
22 return vusmmlaq_s32 (r, a, b);
23 }
24
25 /* { dg-final { scan-assembler-times {\tvsmmla.s8\tq[0-9]+, q[0-9]+, q[0-9]+} 1 } } */
26 /* { dg-final { scan-assembler-times {\tvummla.u8\tq[0-9]+, q[0-9]+, q[0-9]+} 1 } } */
27 /* { dg-final { scan-assembler-times {\tvusmmla.s8\tq[0-9]+, q[0-9]+, q[0-9]+} 1 } } */