mirror of https://github.com/red-prig/fpPS4.git
This commit is contained in:
parent
a1dd8a1be6
commit
5f02ca5dbe
|
@ -1042,7 +1042,6 @@ begin
|
|||
ori8se([r13-jit_frame_offset+Integer(@p_kthread(nil)^.pcb_flags),os8],Byte(PCB_IS_HLE));
|
||||
end;
|
||||
|
||||
//switch_stack:=True;
|
||||
if switch_stack then
|
||||
begin
|
||||
//save internal stack
|
||||
|
@ -1094,7 +1093,6 @@ begin
|
|||
movq(r14,[GS+Integer(teb_jitcall)]);
|
||||
movq([r13+Integer(@p_jit_frame(nil)^.tf_r13)],r14);
|
||||
|
||||
//switch_stack:=True;
|
||||
if switch_stack then
|
||||
begin
|
||||
//load rsp,rbp
|
||||
|
@ -1306,6 +1304,9 @@ begin
|
|||
|
||||
jit_cbs[OPPnone,OPsldt,OPSnone]:=@op_invalid;
|
||||
jit_cbs[OPPnone,OPlldt,OPSnone]:=@op_invalid;
|
||||
|
||||
jit_cbs[OPPnone,OPxbegin,OPSnone]:=@op_invalid;
|
||||
jit_cbs[OPPnone,OPxend ,OPSnone]:=@op_invalid;
|
||||
end;
|
||||
|
||||
function test_disassemble(addr:Pointer;vsize:Integer):Boolean;
|
||||
|
@ -1700,14 +1701,6 @@ begin
|
|||
else;
|
||||
end;
|
||||
|
||||
{
|
||||
if (qword(ctx.ptr_curr) and $FFFFF) = $427F5 then
|
||||
begin
|
||||
print_asm:=true;
|
||||
ctx.builder.int3;
|
||||
end;
|
||||
}
|
||||
|
||||
if (din.Flags * [ifOnly32, ifOnly64, ifOnlyVex] <> []) or
|
||||
(din.ParseFlags * [preF3,preF2] <> []) or
|
||||
is_invalid(din) then
|
||||
|
@ -1795,6 +1788,14 @@ begin
|
|||
movq([GS+Integer(teb_jitcall)],r14);
|
||||
}
|
||||
|
||||
{
|
||||
if (qword(ctx.ptr_curr) and $FFFFFF) = $2f662e then
|
||||
begin
|
||||
//print_asm:=true;
|
||||
ctx.builder.int3;
|
||||
end;
|
||||
}
|
||||
|
||||
if op_lazy_jit(ctx) then
|
||||
begin
|
||||
//
|
||||
|
@ -1884,15 +1885,6 @@ begin
|
|||
|
||||
//print_asm:=False;
|
||||
|
||||
|
||||
{
|
||||
if (qword(ctx.ptr_curr) and $FFFFF) = $4d5b8 then
|
||||
begin
|
||||
//print_asm:=true;
|
||||
ctx.builder.int3;
|
||||
end;
|
||||
}
|
||||
|
||||
_next:
|
||||
|
||||
//debug
|
||||
|
|
Loading…
Reference in New Issue