emit_x64: Use movzx(eax, ah) instead of emitting byte equivalent
Emission fixed in xbyak v6.61
This commit is contained in:
parent
8f890d327a
commit
d7bd5bb7a7
1 changed files with 1 additions and 3 deletions
|
@ -156,9 +156,7 @@ void EmitX64::EmitGetNZFromOp(EmitContext& ctx, IR::Inst* inst) {
|
||||||
const Xbyak::Reg value = ctx.reg_alloc.UseGpr(args[0]).changeBit(bitsize);
|
const Xbyak::Reg value = ctx.reg_alloc.UseGpr(args[0]).changeBit(bitsize);
|
||||||
code.cmp(value, 0);
|
code.cmp(value, 0);
|
||||||
code.lahf();
|
code.lahf();
|
||||||
code.db(0x0f);
|
code.movzx(eax, ah);
|
||||||
code.db(0xb6);
|
|
||||||
code.db(0xc4);
|
|
||||||
ctx.reg_alloc.DefineValue(inst, nz);
|
ctx.reg_alloc.DefineValue(inst, nz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue