8322154: RISC-V: JDK-8315743 missed change in MacroAssembler::load_reserved

Reviewed-by: fyang, rehn, luhenry
This commit is contained in:
Gui Cao 2023-12-19 07:45:59 +00:00 committed by Robbin Ehn
parent 808a03927c
commit 59073fa3eb

View File

@ -2771,7 +2771,7 @@ void MacroAssembler::load_reserved(Register dst,
break;
case uint32:
lr_w(dst, addr, acquire);
zero_extend(t0, t0, 32);
zero_extend(dst, dst, 32);
break;
default:
ShouldNotReachHere();