mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 01:31:25 +00:00
Successfully compile and run StatusScreen.drawNum with the new JIT
This commit is contained in:
parent
02653abf4a
commit
a8f8d8b659
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ void JitCompiler::EmitRET()
|
||||||
cc.CreateCondBr(cc.CreateICmpSLE(ConstValueD(retnum), numret), ifbb, endifbb);
|
cc.CreateCondBr(cc.CreateICmpSLE(ConstValueD(retnum), numret), ifbb, endifbb);
|
||||||
cc.SetInsertPoint(ifbb);
|
cc.SetInsertPoint(ifbb);
|
||||||
|
|
||||||
IRValue* location = OffsetPtr(ret, retnum * sizeof(VMReturn));
|
IRValue* location = Load(ToInt8PtrPtr(ret, retnum * sizeof(VMReturn)));
|
||||||
|
|
||||||
int regtype = B;
|
int regtype = B;
|
||||||
int regnum = C;
|
int regnum = C;
|
||||||
|
@ -185,7 +185,7 @@ void JitCompiler::EmitRETI()
|
||||||
cc.CreateCondBr(cc.CreateICmpSLE(ConstValueD(retnum), numret), ifbb, endifbb);
|
cc.CreateCondBr(cc.CreateICmpSLE(ConstValueD(retnum), numret), ifbb, endifbb);
|
||||||
cc.SetInsertPoint(ifbb);
|
cc.SetInsertPoint(ifbb);
|
||||||
|
|
||||||
IRValue* location = OffsetPtr(ret, retnum * sizeof(VMReturn));
|
IRValue* location = Load(ToInt8PtrPtr(ret, retnum * sizeof(VMReturn)));
|
||||||
Store(ConstValueD(BCs), ToInt32Ptr(location));
|
Store(ConstValueD(BCs), ToInt32Ptr(location));
|
||||||
|
|
||||||
if (a & RET_FINAL)
|
if (a & RET_FINAL)
|
||||||
|
|
Loading…
Reference in a new issue