Fix Pack2x32To1x64
Not sure how to fix this properly.
This commit is contained in:
parent
3fdc093d10
commit
72c503016c
1 changed files with 2 additions and 1 deletions
|
@ -281,7 +281,8 @@ void EmitX64::EmitPack2x32To1x64(IR::Block&, IR::Inst* inst) {
|
||||||
|
|
||||||
void EmitX64::EmitLeastSignificantWord(IR::Block&, IR::Inst* inst) {
|
void EmitX64::EmitLeastSignificantWord(IR::Block&, IR::Inst* inst) {
|
||||||
// TODO: Optimize
|
// TODO: Optimize
|
||||||
reg_alloc.UseDefRegister(inst->GetArg(0), inst, any_gpr);
|
auto u64 = reg_alloc.UseDefRegister(inst->GetArg(0), inst, any_gpr);
|
||||||
|
code->MOVZX(64, 32, u64, R(u64));
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitX64::EmitMostSignificantWord(IR::Block&, IR::Inst* inst) {
|
void EmitX64::EmitMostSignificantWord(IR::Block&, IR::Inst* inst) {
|
||||||
|
|
Loading…
Reference in a new issue