]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/movlb_s32.c
[AArch64] Add support for the SVE2 ACLE
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / aarch64 / sve2 / acle / asm / movlb_s32.c
1 /* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
2
3 #include "test_sve_acle.h"
4
5 /*
6 ** movlb_s32_tied1:
7 ** sshllb z0\.s, z0\.h, #0
8 ** ret
9 */
10 TEST_TYPE_CHANGE_Z (movlb_s32_tied1, svint32_t, svint16_t,
11 z0_res = svmovlb_s32 (z0),
12 z0_res = svmovlb (z0))
13
14 /*
15 ** movlb_s32_untied:
16 ** sshllb z0\.s, z1\.h, #0
17 ** ret
18 */
19 TEST_TYPE_CHANGE_Z (movlb_s32_untied, svint32_t, svint16_t,
20 z0_res = svmovlb_s32 (z1),
21 z0_res = svmovlb (z1))