diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-02-19 23:55:18 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-02-19 23:55:18 +0100 |
| commit | 692ad43285a4182669254449d343066e2bdfe318 (patch) | |
| tree | 3d71007654310f9beffd37b8882a0578c3b90855 /src/include | |
| parent | d06ff478d188eb4a077041e4b2b628f75ed9eaf8 (diff) | |
| download | box64-692ad43285a4182669254449d343066e2bdfe318.tar.gz box64-692ad43285a4182669254449d343066e2bdfe318.zip | |
[DYNAREC] Optimized FillBlock64 to avoid 3 for loop on all block instructions and a temporary malloc/free
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/dynarec_native.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/dynarec_native.h b/src/include/dynarec_native.h index 9fe26323..eff5a6bf 100755 --- a/src/include/dynarec_native.h +++ b/src/include/dynarec_native.h @@ -3,6 +3,9 @@ typedef struct dynablock_s dynablock_t; typedef struct x64emu_s x64emu_t; +typedef struct instsize_s instsize_t; + +void addInst(instsize_t* insts, size_t* size, int x64_size, int native_size); void CancelBlock64(int need_lock); void* FillBlock64(dynablock_t* block, uintptr_t addr); |