Skip to content

Commit

Permalink
[FMV][AArch64] Unify tests for sha1 and sha2. (#164)
Browse files Browse the repository at this point in the history
Sha1 has been unified with sha2 in the ACLE spec
(ARM-software/acle#347)
therefore I am adjusting the runtime tests for it.
  • Loading branch information
labrinea committed Sep 20, 2024
1 parent e77ce1b commit bd77380
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 1 addition & 9 deletions SingleSource/UnitTests/AArch64/acle-fmv-features.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,7 @@ CHECK(sha2, sha2, {
"fmov d0, #0" "\n"
"fmov d1, #0" "\n"
"sha256h q0, q0, v0.4s" "\n"
: : : "v0"
);
})
CHECK(sha1, sha1, {
asm volatile (
"fmov s0, #0" "\n"
// FIXME: sha1h is under +sha2 in clang, and +sha1 doesn't exist yet.
".inst 0x5e280800" "\n" // sha1h s0, s0
"sha1h s0, s0" "\n"
: : : "v0"
);
})
Expand Down Expand Up @@ -263,7 +256,6 @@ int main(int, const char **) {
check_rdm();
check_lse();
check_sha2();
check_sha1();
check_aes();
check_pmull();
check_rcpc();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ sha3
rdm
lse
sha2
sha1
aes
pmull
rcpc
Expand Down

0 comments on commit bd77380

Please sign in to comment.