- added OP_MOVES, OP_CONCAT, OP_LENS, OP_CMPS
This commit is contained in:
parent
c359601737
commit
0b6c514067
5 changed files with 81 additions and 10 deletions
|
|
@ -12,7 +12,13 @@ void JitCompiler::EmitMOVEF()
|
|||
|
||||
void JitCompiler::EmitMOVES()
|
||||
{
|
||||
I_FatalError("EmitMOVES not implemented\n");
|
||||
auto loadLambda = [](FString* to, FString* from) -> void {
|
||||
*to = *from;
|
||||
};
|
||||
auto call = cc.call(ToMemAddress(reinterpret_cast<void*>(static_cast<void(*)(FString*, FString*)>(loadLambda))),
|
||||
asmjit::FuncSignature2<void, FString*, FString*>(asmjit::CallConv::kIdHostCDecl));
|
||||
call->setArg(0, regS[A]);
|
||||
call->setArg(1, regS[B]);
|
||||
}
|
||||
|
||||
void JitCompiler::EmitMOVEA()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue