Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8339738: RISC-V: Vectorize crc32 intrinsic #20910

Closed
wants to merge 13 commits into from
1 change: 1 addition & 0 deletions src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
@@ -1464,6 +1464,7 @@ void MacroAssembler::update_word_crc32(Register crc, Register v, Register tmp1,
void MacroAssembler::vector_update_crc32(Register crc, Register buf, Register len,
Register tmp1, Register tmp2, Register tmp3, Register tmp4, Register tmp5,
Register table0, Register table3) {
assert_different_registers(t1, crc, buf, len, tmp1, tmp2, tmp3, tmp4, tmp5, table0, table3);
const int N = 16, W = 4;
const int64_t single_table_size = 256;
const Register blks = tmp2;