| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [RBTREE] Fixed an edge case (#2562) | rajdakin | 2025-04-22 | 1 | -1/+3 |
| | | |||||
| * | [RBTREE] Cache boundary nodes and remove `add_range()` (#2557) | Chi-Kuan Chiu | 2025-04-22 | 1 | -31/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cache leftmost and rightmost node Add two fields to `rbtree`: `lefter` and `righter`, to cache the leftmost and rightmost nodes respectively. This eliminates the need for O(log N) traversals in `rb_get_lefter()` and `rb_get_righter()`. Motivated by the Linux kernel's use of cached pointers for `rb_first()` and `rb_last()`, this change improves efficiency of boundary queries by replacing repeated tree walks with direct pointer dereference. Experiment: running `chess.exe` with Box64 + Wine (#2511) - ~3,500 insertions into the tree - 607 lightweight cache updates (single assignment) - 397 full tree traversals avoided This results in reduced runtime overhead for boundary checks, with memory cost (+2 pointer per tree). Expected benefits increase in larger or more dynamic workloads. Ref: https://docs.kernel.org/core-api/rbtree.html * Remove redundant add_range() wrapper The function `add_range()` was only called when `tree->root == NULL`. In such cases, the while-loop inside `add_range()` never runs, resulting in a call to `add_range_next_to()` with `prev == NULL`. Replaced it with direct calls to `add_range_next_to(tree, NULL, ...)`. | ||||
| * | [ENV][COSIM] Enable x87double only if it's off (#2554) | Yang Liu | 2025-04-21 | 1 | -1/+2 |
| | | |||||
| * | [DEBUG] Exposed a debug function to print an rbtree | ptitSeb | 2025-04-20 | 1 | -20/+24 |
| | | |||||
| * | Removed a function not used anymore | ptitSeb | 2025-04-18 | 1 | -14/+0 |
| | | |||||
| * | Eliminated many compilation warnings (#2535) | Yang Liu | 2025-04-15 | 1 | -1/+2 |
| | | |||||
| * | [WOW64] Added non-functional PE build (#2532) | Yang Liu | 2025-04-14 | 2 | -778/+0 |
| | | |||||
| * | [WOW64] Splitted freq and cleanup functions from x64emu (#2521) | Yang Liu | 2025-04-11 | 2 | -16/+85 |
| | | |||||
| * | [WOW64] More work on the PE wow64 build (#2518) | Yang Liu | 2025-04-10 | 1 | -0/+21 |
| | | | | | | * [WOW64] More work on the PE wow64 build * added a TODO | ||||
| * | [DYNAREC] Improved handling of db_size rbtree | ptitSeb | 2025-04-09 | 1 | -0/+310 |
| | | |||||
| * | [DYNAREC] Better handling of self-loop and added CALLRET=2 settings (ARM64 ↵ | ptitSeb | 2025-04-09 | 1 | -0/+2 |
| | | | | | only, RV64 and LA64 todo) | ||||
| * | Decoupled alternate functions from bridge (#2500) | Yang Liu | 2025-04-03 | 3 | -45/+49 |
| | | |||||
| * | Moved more functions to os.h (#2497) | Yang Liu | 2025-04-03 | 3 | -5/+3 |
| | | | | | | | | * Removed some unused function declarations * Moved more functions to os.h * review | ||||
| * | Moved more OS-dependent functions to os.h (#2491) | Yang Liu | 2025-04-01 | 1 | -1/+2 |
| | | |||||
| * | Introduced box64cpu.h for exported interpreter and dynarec functions (#2490) | Yang Liu | 2025-04-01 | 2 | -3/+4 |
| | | |||||
| * | Some cosmetic changes to C header files (#2487) | Yang Liu | 2025-04-01 | 1 | -0/+28 |
| | | | | | | * [DYNAREC] Move cosim functions to a new header * Moved isNativeCall to elfloader | ||||
| * | [RCFILE] Fixed BOX64_EMULATED_LIBS that was broken when used inside an rcfile | ptitSeb | 2025-03-20 | 1 | -0/+3 |
| | | |||||
| * | [BOX32] Change to get all created bricks to be conitgus on 32bits, as ↵ | ptitSeb | 2025-03-17 | 1 | -2/+8 |
| | | | | | address space is pretty small | ||||
| * | [RCFILE] Added range gdbjit support (#2414) | Yang Liu | 2025-03-03 | 2 | -9/+29 |
| | | |||||
| * | [RCFILE] Fixed load addr parse issue (#2413) | Yang Liu | 2025-03-03 | 1 | -6/+7 |
| | | |||||
| * | Limit to 11 the number of cpuid invalid parameter message | ptitSeb | 2025-02-12 | 1 | -1/+7 |
| | | |||||
| * | [RCFILE] Fixed ROLLING_LOG when setup in a profile only | ptitSeb | 2025-02-07 | 1 | -5/+11 |
| | | |||||
| * | [RCFILE] Add some print of NODYNAREC and DYNAREC_TEST when applyed | ptitSeb | 2025-02-02 | 1 | -6/+21 |
| | | |||||
| * | [ENV] More tweaks on recoding env mapping (#2309) | Yang Liu | 2025-02-01 | 1 | -5/+5 |
| | | | | | | * [ENV] More tweaks on recoding env mapping * review | ||||
| * | [ENV] Fixed crash when rcfile does not exist (for #2295) (#2307) | Yang Liu | 2025-02-01 | 1 | -4/+5 |
| | | | | | | * [ENV] Fixed crash when rcfile does not exist (for #2295) * review | ||||
| * | More improvmnet to map with fd tracking | ptitSeb | 2025-01-29 | 1 | -2/+22 |
| | | |||||
| * | [ANDROID] Nope, re-disable map with fd tracking on Android | ptitSeb | 2025-01-29 | 1 | -0/+2 |
| | | |||||
| * | [ANDROID] Try to re-enable map with fd tracking on Android | ptitSeb | 2025-01-29 | 1 | -2/+0 |
| | | |||||
| * | Improved file map tracking, and use file map info in dynarec for bigblock ↵ | ptitSeb | 2025-01-27 | 2 | -1/+46 |
| | | | | | setting | ||||
| * | [ANDROID] Disable file map tracking on Android for now, as it seems to segfault | ptitSeb | 2025-01-27 | 1 | -0/+2 |
| | | |||||
| * | [ENV] Improved a bit env var handling and per file env var | ptitSeb | 2025-01-27 | 1 | -6/+4 |
| | | |||||
| * | Expanded file mapping tracking for future use (might help #2295) | ptitSeb | 2025-01-25 | 1 | -12/+43 |
| | | |||||
| * | [DYNAREC] Added preliminary per-file settings (#2288) | Yang Liu | 2025-01-23 | 2 | -22/+62 |
| | | |||||
| * | Clean up UnityPlayer.dll detection from my_mmap64 (#2286) | Yang Liu | 2025-01-23 | 1 | -0/+22 |
| | | |||||
| * | Fixed various issues introduced in the env infra refactor (#2281) | Yang Liu | 2025-01-22 | 1 | -6/+23 |
| | | | | | | | | | | | | * Open trace file again after apply env files * dynrec_df=1 by default * more fixes * more fixes * more | ||||
| * | Added [BOX64] prefix for all the stdout logs (#2279) | Yang Liu | 2025-01-21 | 1 | -5/+5 |
| | | | | | | | | * Added [BOX64] prefix for all the stdout logs * Remove some hardcoded prefix * review | ||||
| * | [ENV] Optimized BOX64ENV log a bit (#2277) | Yang Liu | 2025-01-21 | 1 | -1/+18 |
| | | |||||
| * | [ENV] Initial refactor of env variables infrastructure (#2274) | Yang Liu | 2025-01-21 | 3 | -825/+543 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ENV] Initial refactor of env variables infrastructure * Ported BOX64_DYNAREC_LOG * Ported more options * Ported BOX64_MALLOC_HACK * Ported BOX64_DYNAREC_TEST * Ported more options * Ported more options * Ported more options * Ported all options * Removed old rcfile parser * Fix * review * fix * fix * more fixes | ||||
| * | [BOX32] Fixed some issue with previous commit on box32 loading wine/proton | ptitSeb | 2025-01-17 | 1 | -1/+4 |
| | | |||||
| * | Added some hack to simulate seccomp/bpf Windows syscalls handling in proton | ptitSeb | 2025-01-17 | 1 | -3/+7 |
| | | |||||
| * | [DYNAREC] Introduce BOX64_DYNAREC_DIRTY and some profile to use it | ptitSeb | 2025-01-15 | 1 | -0/+2 |
| | | |||||
| * | Small changes on envv and arv managment | ptitSeb | 2025-01-14 | 2 | -2/+4 |
| | | |||||
| * | [RCFILE] Log before applying the change | ptitSeb | 2025-01-14 | 1 | -16/+16 |
| | | |||||
| * | [INTERPRETER] Added a few more cpu extension and associated opcodes ↵ | ptitSeb | 2025-01-05 | 1 | -2/+23 |
| | | | | | ([ARM64_DYNAREC] added some of the new opcodes too) | ||||
| * | Use uname -m to get CPU architecture (#2222) | 東雲なの | 2024-12-28 | 1 | -1/+1 |
| | | | | Use uname -m to get CPU architecture is simplier than lscpu | ||||
| * | Exposed MMXext for CPUTYPE=1 | ptitSeb | 2024-12-27 | 1 | -1/+1 |
| | | |||||
| * | [INTERPRETER] Exposed SSE4a for CPUTYPE=1, implemented all 4 opcodes | ptitSeb | 2024-12-27 | 1 | -1/+1 |
| | | |||||
| * | Introduce BOX64_CPUTYPE to choose emulating Intel or AMD cpus (no AMD ↵ | ptitSeb | 2024-12-27 | 2 | -123/+318 |
| | | | | | specific extension yet) | ||||
| * | [LA64_DYNAREC] Added hardware wall-clock support (#2216) | Yang Liu | 2024-12-26 | 1 | -8/+2 |
| | | | | | | * [LA64_DYNAREC] Added hardware wall-clock support * Refined multi-language support | ||||
| * | [LA64_DYNAREC] Added nativeflags support (#2202) | Yang Liu | 2024-12-24 | 1 | -1/+1 |
| | | |||||