Skip to content

Commit

Permalink
[LA64_DYNAREC] Fixed some LBT path issues (#2193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksco authored Dec 23, 2024
1 parent cad9450 commit 946da43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/box64.pod
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ Behavior with FillBlock is not available (FillBlock build Dynarec blocks and is
* 0 : Dynarec will not wait for FillBlock to ready and use Interpreter instead (might speedup a bit massive multithread or JIT programs)
* 1 : Dynarec will wait for FillBlock to be ready (Default)

=item B<BOX64_DYNAREC_GDBJIT>=I<0|1>
=item B<BOX64_DYNAREC_GDBJIT>=I<0|1|2>

The GDBJIT debugging support, only available with the compilation option GDBJIT=ON, enable it with gdb command: jit-reader-load /usr/local/lib/libbox64gdbjitreader.so.

Expand Down
3 changes: 2 additions & 1 deletion src/dynarec/la64/dynarec_la64_emit_math.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ void emit_sbb32(dynarec_la64_t* dyn, int ninst, rex_t rex, int s1, int s2, int s
X64_SBC_W(s1, s2);
}
MVxw(s1, s3);

if (!rex.w) ZEROUP(s1);
IFX (X_PEND)
SDxw(s1, xEmu, offsetof(x64emu_t, res));
return;
Expand Down Expand Up @@ -1212,6 +1212,7 @@ void emit_adc32(dynarec_la64_t* dyn, int ninst, rex_t rex, int s1, int s2, int s
X64_ADC_W(s1, s2);
}
MV(s1, s3);
if (!rex.w) ZEROUP(s1);
IFX (X_PEND) {
SDxw(s1, xEmu, offsetof(x64emu_t, res));
}
Expand Down

0 comments on commit 946da43

Please sign in to comment.