Skip to content

Commit

Permalink
Fix selected kernel display for ARM/RISC-V
Browse files Browse the repository at this point in the history
Ref #5
  • Loading branch information
animetosho committed May 18, 2024
1 parent 5eb2340 commit 30c5f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/crc_arm_pmull.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static uint32_t crc32_shift_pmull(uint32_t crc1, uint32_t n) {
void RapidYenc::crc_pmull_set_funcs() {
_crc32_multiply = &crc32_multiply_pmull;
_crc32_shift = &crc32_shift_pmull;
_crc32_isa &= ISA_FEATURE_PMULL;
_crc32_isa |= ISA_FEATURE_PMULL;
}

#else
Expand Down
3 changes: 3 additions & 0 deletions tool/bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ static const char* kernel_to_str(int k) {
if(k == RYKERN_PCLMUL) return "PCLMUL";
if(k == RYKERN_VPCLMUL) return "VPCLMUL";
if(k == RYKERN_ARMCRC) return "ARM-CRC";
if(k == RYKERN_RVV) return "RVV";
if(k == RYKERN_ARMPMULL) return "ARM-CRC + PMULL";
if(k == RYKERN_ZBC) return "Zbkc";
return "unknown";
}
#define ARTICLE_SIZE 768000ULL
Expand Down

0 comments on commit 30c5f22

Please sign in to comment.