Skip to content

Commit

Permalink
Replace cpopw with cpop
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeihan committed May 22, 2024
1 parent fde6d13 commit 55a52c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3386,7 +3386,7 @@ void MacroAssembler::population_count(Register dst, Register src,
Register temp1, Register temp2) {

if (UsePopCountInstruction) {
cpopw(dst, src);
cpop(dst, src);
} else {
assert_different_registers(src, temp1, temp2);
assert_different_registers(dst, temp1, temp2);
Expand Down

0 comments on commit 55a52c2

Please sign in to comment.