annotate gcc/testsuite/gcc.target/arm/mve/intrinsics/vadciq_u32.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-require-effective-target arm_v8_1m_mve_ok } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 /* { dg-add-options arm_v8_1m_mve } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3 /* { dg-additional-options "-O2" } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 #include "arm_mve.h"
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 uint32x4_t
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 foo (uint32x4_t a, uint32x4_t b, unsigned * carry_out)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 return vadciq_u32 (a, b, carry_out);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
12
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
13 /* { dg-final { scan-assembler "vadci.i32" } } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
14
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
15 uint32x4_t
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
16 foo1 (uint32x4_t a, uint32x4_t b, unsigned * carry_out)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
17 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
18 return vadciq (a, b, carry_out);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
19 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
20
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
21 /* { dg-final { scan-assembler "vadci.i32" } } */