annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
1 /* { dg-do assemble } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 /* { dg-require-effective-target arm_v8_2a_i8mm_ok } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3 /* { dg-options "-save-temps -O2 -march=armv8.2-a+i8mm" } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 #include "arm_neon.h"
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 int32x4_t
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 test_vmmlaq_s32 (int32x4_t r, int8x16_t a, int8x16_t b)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 return vmmlaq_s32 (r, a, b);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
12
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
13 uint32x4_t
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
14 test_vmmlaq_u32 (uint32x4_t r, uint8x16_t a, uint8x16_t b)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
15 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
16 return vmmlaq_u32 (r, a, b);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
17 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
18
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
19 int32x4_t
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
20 test_vusmmlaq_s32 (int32x4_t r, uint8x16_t a, int8x16_t b)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
21 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
22 return vusmmlaq_s32 (r, a, b);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
23 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
24
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
25 /* { dg-final { scan-assembler-times {\tvsmmla.s8\tq[0-9]+, q[0-9]+, q[0-9]+} 1 } } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
26 /* { dg-final { scan-assembler-times {\tvummla.u8\tq[0-9]+, q[0-9]+, q[0-9]+} 1 } } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
27 /* { dg-final { scan-assembler-times {\tvusmmla.s8\tq[0-9]+, q[0-9]+, q[0-9]+} 1 } } */