mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
- fix missing zero extend
This commit is contained in:
parent
4076ce791b
commit
6f55c76f05
1 changed files with 5 additions and 5 deletions
|
@ -458,25 +458,25 @@ private:
|
|||
void EmitLBU()
|
||||
{
|
||||
EmitNullPointerThrow(B, X_READ_NIL);
|
||||
cc.mov(regD[A], asmjit::x86::byte_ptr(regA[B], konstd[C]));
|
||||
cc.movzx(regD[A], asmjit::x86::byte_ptr(regA[B], konstd[C]));
|
||||
}
|
||||
|
||||
void EmitLBU_R()
|
||||
{
|
||||
EmitNullPointerThrow(B, X_READ_NIL);
|
||||
cc.mov(regD[A], asmjit::x86::byte_ptr(regA[B], regD[C]));
|
||||
cc.movzx(regD[A].r8Lo(), asmjit::x86::byte_ptr(regA[B], regD[C]));
|
||||
}
|
||||
|
||||
void EmitLHU()
|
||||
{
|
||||
EmitNullPointerThrow(B, X_READ_NIL);
|
||||
cc.mov(regD[A], asmjit::x86::word_ptr(regA[B], konstd[C]));
|
||||
cc.movzx(regD[A].r16(), asmjit::x86::word_ptr(regA[B], konstd[C]));
|
||||
}
|
||||
|
||||
void EmitLHU_R()
|
||||
{
|
||||
EmitNullPointerThrow(B, X_READ_NIL);
|
||||
cc.mov(regD[A], asmjit::x86::word_ptr(regA[B], regD[C]));
|
||||
cc.movzx(regD[A].r16(), asmjit::x86::word_ptr(regA[B], regD[C]));
|
||||
}
|
||||
|
||||
void EmitLSP()
|
||||
|
@ -3054,7 +3054,7 @@ static void OutputJitLog(const asmjit::StringLogger &logger)
|
|||
JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
||||
{
|
||||
#if defined(DEBUG_JIT)
|
||||
if (strcmp(sfunc->Name.GetChars(), "CanPickup") != 0)
|
||||
if (strcmp(sfunc->PrintableName.GetChars(), "Key.ShouldStay") != 0)
|
||||
return nullptr;
|
||||
#else
|
||||
if (!JitCompiler::CanJit(sfunc))
|
||||
|
|
Loading…
Reference in a new issue