]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/match_u8.c
[AArch64] Add support for the SVE2 ACLE
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / aarch64 / sve2 / acle / asm / match_u8.c
1 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
2
3 #include "test_sve_acle.h"
4
5 /*
6 ** match_u8_tied:
7 ** match p0\.b, p0/z, z0\.b, z1\.b
8 ** ret
9 */
10 TEST_COMPARE_Z (match_u8_tied, svuint8_t,
11 p0 = svmatch_u8 (p0, z0, z1),
12 p0 = svmatch (p0, z0, z1))
13
14 /*
15 ** match_u8_untied:
16 ** match p0\.b, p1/z, z0\.b, z1\.b
17 ** ret
18 */
19 TEST_COMPARE_Z (match_u8_untied, svuint8_t,
20 p0 = svmatch_u8 (p1, z0, z1),
21 p0 = svmatch (p1, z0, z1))