emit_arm64_data_processing: Fix MostSignificantWord
This commit is contained in:
parent
9b09acee47
commit
2dce8ea5a8
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ void EmitIR<IR::Opcode::MostSignificantWord>(oaknut::CodeGenerator& code, EmitCo
|
||||||
auto Xoperand = ctx.reg_alloc.ReadX(args[0]);
|
auto Xoperand = ctx.reg_alloc.ReadX(args[0]);
|
||||||
RegAlloc::Realize(Wresult, Xoperand);
|
RegAlloc::Realize(Wresult, Xoperand);
|
||||||
|
|
||||||
code.LSL(Wresult->toX(), Xoperand, 32);
|
code.LSR(Wresult->toX(), Xoperand, 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
|
|
Loading…
Reference in a new issue