Skip to content

Commit 1516c62

Browse files
authored
[FMV][AArch64] Move test for pmull under aes and add test for sve2-aes. (#170)
Those features have been unified here: ARM-software/acle#352
1 parent 9fac4a3 commit 1516c62

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

SingleSource/UnitTests/AArch64/acle-fmv-features.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ CHECK(aes, aes, aes, false, {
103103
"fmov d0, #0" "\n"
104104
"fmov d1, #0" "\n"
105105
"aesd v0.16B, v0.16B" "\n"
106-
: : : "v0"
107-
);
108-
})
109-
CHECK(pmull, pmull, aes, false, {
110-
asm volatile (
111-
"fmov d0, #0" "\n"
112106
"pmull v0.1q, v0.1d, v0.1d" "\n"
113107
: : : "v0"
114108
);
@@ -310,6 +304,13 @@ CHECK(sve2, sve2, sve2, false, {
310304
: : : "p15", "cc"
311305
);
312306
})
307+
CHECK(sve2_aes, sve2-aes, sve2-aes, false, {
308+
asm volatile (
309+
"aese z0.b, z0.b, z1.b" "\n"
310+
"pmullt z2.q, z0.d, z1.d" "\n"
311+
: : : "z0", "z2"
312+
);
313+
})
313314
CHECK(sve2_bitperm, sve2-bitperm, sve2-bitperm, false, {
314315
asm volatile (
315316
"bext z0.s, z1.s, z2.s"
@@ -400,7 +401,6 @@ int main(int, const char **) {
400401
check_lse();
401402
check_sha2();
402403
check_aes();
403-
check_pmull();
404404
check_rcpc();
405405
check_rcpc2();
406406
check_fcma();
@@ -428,6 +428,7 @@ int main(int, const char **) {
428428
check_rng();
429429
check_sve();
430430
check_sve2();
431+
check_sve2_aes();
431432
check_sve2_bitperm();
432433
check_sve2_sha3();
433434
check_sve2_sm4();

SingleSource/UnitTests/AArch64/acle-fmv-features.reference_output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ rdm
66
lse
77
sha2
88
aes
9-
pmull
109
rcpc
1110
rcpc2
1211
fcma
@@ -34,6 +33,7 @@ rcpc3
3433
rng
3534
sve
3635
sve2
36+
sve2-aes
3737
sve2-bitperm
3838
sve2-sha3
3939
sve2-sm4

0 commit comments

Comments
 (0)