Skip to content

Commit

Permalink
tier1
Browse files Browse the repository at this point in the history
  • Loading branch information
robehn committed Nov 15, 2023
1 parent 18e6ee6 commit 9474b77
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4387,7 +4387,6 @@ void MacroAssembler::shadd(Register Rd, Register Rs1, Register Rs2, Register tmp
void MacroAssembler::zero_extend(Register dst, Register src, int bits) {
// TODO refactor masm + asm
// This code is not nice, we can do much better if refactored.
assert(bits == 8 || bits == 16 || bits == 32, "must be");
if (bits == 32) {
if (UseZba) {
zext_w(dst, src);
Expand Down Expand Up @@ -4435,7 +4434,6 @@ void MacroAssembler::zero_extend(Register dst, Register src, int bits) {
void MacroAssembler::sign_extend(Register dst, Register src, int bits) {
// TODO refactor masm + asm
// This code is not nice, we can do much better if refactored.
assert(bits == 8 || bits == 16 || bits == 32, "must be");
if (bits == 32) {
sext_w(dst, src);
return;
Expand Down

0 comments on commit 9474b77

Please sign in to comment.