496 Commits

Author SHA1 Message Date
Yang Liu
8d7db7f1fb
Added a simple PE loaded dedicated for volatileMetadata (#2607) 2025-05-06 13:45:38 +02:00
phorcys
7158405b73
[LA64_DYNAREC] Add POPCNT/TZCNT/LZCNT ops. (#2566)
66.f3.0f.b8/bc/bd POPCNT/TZCNT/LZCNT 16bits ops
f3.0f.bd LZCNT
fix f3.0f.bc TZCNT (GETED/RESTORE_EFLAGS x1 conflict)
2025-04-24 11:28:42 +02:00
Yang Liu
ad494480ce
[DYNAREC] Added a x87pc test and some cosmetic changes too (#2561) 2025-04-22 13:31:04 +02:00
Yang Liu
4695a4ff3c
[WOW64] Added PE build to the build system (#2537) 2025-04-15 16:50:58 +02:00
Yang Liu
6b2373af93
[WOW64] Added non-functional PE build (#2532) 2025-04-14 13:34:43 +02:00
ptitSeb
a89748e9e5 [BOX32][WRAPPER] Added wrapped libmount and libblkid, plus 1 new wrapped function on libgbm 2025-04-12 18:34:03 +02:00
ptitSeb
91f9a58b30 [BOX32][WRAPPER] Added 32bits wrapped libselinux 2025-04-12 17:53:56 +02:00
ptitSeb
20377b9927 [BOX32][WRAPPER] Added 32bits wrapped libGLX 2025-04-12 15:22:14 +02:00
ptitSeb
163689d2bb [BOX32][WRAPPER] Added 32bits wrapped libEGL 2025-04-12 15:08:27 +02:00
ptitSeb
e49551bda5 [BOX32][WRAPPER] Added 32bits wrapped libgbm 2025-04-12 14:54:06 +02:00
Yang Liu
6c46e3d9b1
[WOW64] Splitted freq and cleanup functions from x64emu (#2521) 2025-04-11 12:26:51 +02:00
Yang Liu
0bb41a73c2
[WOW64] More tweaks towards PE build (#2519) 2025-04-10 14:09:23 +02:00
Yang Liu
f9f082ee53
[WOW64] More work on the PE wow64 build (#2518)
* [WOW64] More work on the PE wow64 build

* added a TODO
2025-04-10 12:14:50 +02:00
Yang Liu
d0a5352c1a
Moved emit functions to seperate files from signals.h (#2516) 2025-04-09 11:57:16 +02:00
Yang Liu
c9b6b5fbe0
Added backtrace.h for holding backtrace-related functions (#2515) 2025-04-09 11:16:32 +02:00
cjy880927
4aab7a02f4
[CMAKE]: Fix arm64 build (#2507)
Log: Ensure successful compilation on devices that do not support
     cortex-a77.cortex-a55, such as those with CPU Model Cortex-A55.

Signed-off-by: chenjiangyi <chenjiangyi@uniontech.com>
Co-authored-by: chenjiangyi <chenjiangyi@uniontech.com>
2025-04-07 09:34:42 +02:00
Yang Liu
fb955a3975
Decoupled alternate functions from bridge (#2500) 2025-04-03 19:12:33 +02:00
Yang Liu
42c241ee4e
[CI] Enable cppThreads_32bits in the CI (#2496)
* [CI] Enable cppThreads_32bits in the CI

* switch to a specific termux mirror
2025-04-03 11:18:04 +02:00
Yang Liu
c2a77fca27
Added os.h for future usage (#2488) 2025-04-01 13:50:49 +02:00
ptitSeb
495d3cc4c0 [CMAKE] Changed how CFLAGS and ASLFLAGS are setup and applied (for #2483) 2025-03-31 17:47:08 +02:00
ptitSeb
104e582253 [ARM64_DYNAREC] Another attempt to get correct assembly file handling 2025-03-30 16:00:25 +02:00
ptitSeb
4ae94c5168 [CI] Another atempted fix for arm64 asm handling 2025-03-30 14:23:47 +02:00
ptitSeb
a429ca70e7 [CI] Try to fix arm64/Clang build 2025-03-30 13:54:40 +02:00
ptitSeb
ee760fced1 [CMAKE] Small rework on how asm file are handled 2025-03-30 13:27:23 +02:00
ptitSeb
7873b70306 [WRAPPER] Added wrapping for libavutil.so.56, libavformat.so.58 and libavcodec.so.58 (for new winedmo.so MediaFundation ffmpeg backend) 2025-03-20 18:33:42 +01:00
Yang Liu
394513971c
[RV64_DYNAREC] Minor x87 changes to enable test31 (#2441) 2025-03-17 08:12:31 +01:00
alexvorxx
4120dc10bd
Fixed Box32 for Winlator Glibc (#2404)
* 1

* 2

* 3

* 4

* Fix

* 5

* 6

* 7

* 8

* revert 8

* 9
2025-02-26 17:47:42 +01:00
Yang Liu
e3adda8ff9
[LA64_DYNAREC] Added more opcodes (#2366)
* [LA64_DYNAREC] Added more opcodes

* fix
2025-02-17 08:13:18 +01:00
Yang Liu
2cb25c095a
[LA64_DYNAREC] Added more opcodes (#2339) 2025-02-10 08:35:38 +01:00
Yang Liu
242832fa3c
Added auto-generated x64Int3 printer (#2311)
* Added auto-generated x64Int3 printer

* Fixed minor type errors
2025-02-02 16:46:21 +01:00
ptitSeb
c3dbdf419d [BOX32][WRAPPER] Added some minium 32bits wrapping for libcups (helps wine) 2025-01-26 16:42:27 +01:00
ptitSeb
c566ba970d [BOX32][WRAPPER] Add some minimum 32bits gnutls wrapping (helps wine) 2025-01-26 14:14:58 +01:00
xctan
8c1ffca530
[RV64_DYNAREC] Added codegen for unaligned stores (#2289)
* [RV64_DYNAREC] Added another special SIGBUS case

* [RV64_DYNAREC] Added codegen for unaligned stores
2025-01-24 08:10:45 +01:00
ptitSeb
b439817467 [WRAPPER] Added wrapped libpcap with new wrapper helper (should help #2282) 2025-01-23 10:04:26 +01:00
Yang Liu
044dec0bfa
[ENV] Initial refactor of env variables infrastructure (#2274)
* [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
2025-01-21 16:13:51 +01:00
ptitSeb
9f3be89e12 [ANDROID] Removed the forced NOLOADADDRESS build parameter for Android builds 2025-01-20 16:50:18 +01:00
Hagb (Junyu Guo 郭俊余)
653a67c8ad
Port rounding of some x87 instructions from Box86 (#2242)
* Port rounding of some x87 instructions from Box86

Ported from https://github.com/ptitSeb/box86/pull/951. The original pull
request and this commit also contain some improvements on precision of
`F2XM1` and `FYL2XP1`.

* Run fpu_rounding test with dynarec only for ARM64

They have been implemented on dynarec only for ARM64.
2025-01-08 15:34:15 +01:00
ptitSeb
1d20968f82 [ARM64_DYNAREC] Improved signal handling and flags handling (tbd on other archs) 2024-12-31 22:27:55 +01:00
olegos2
bb0a445a6b
Spelling/typo fixes in code and documentation updates (#2223)
* Fix typo DLOpenned->DLOpened

* Fix a typo in comments: versionned->versioned

* Fix a typo in comment: cleanning->cleaning

* Update COMPILE.md and USAGE.md

* A few more typos in comments
2024-12-28 17:06:51 +01:00
ptitSeb
291db1530c [LA64] This should fix static build 2024-12-20 12:38:57 +01:00
Yang Liu
6e0f32f4ca
Added initial GDBJIT support (#2162)
* Added GDBJIT support

* fix

* fix
2024-12-17 22:01:33 +01:00
ptitSeb
0882f910df [BOX32][WRAPPING] Added 32bits wrapped libxcb-res and fixes some wrapped functions from libxcb 2024-12-17 09:15:59 +01:00
xctan
485959195e
[CMAKE] Fixed linking issue with mold (#2159) 2024-12-17 08:19:53 +01:00
ptitSeb
cc12620868 [WRAPPER] Added wrapped libxcb-res with new wrapperhelper 2024-12-16 13:18:26 +01:00
ptitSeb
d432b18d23 [BOX32][WRAPPER] Added 32bits wrapped libxcb 2024-12-16 12:41:05 +01:00
ptitSeb
f4a4bdd006 [BOX32][WRAPPER] Added 32bits wrapped libx11-xcb 2024-12-16 10:04:51 +01:00
ptitSeb
1c72527dc8 [BOX32][WRAPPER] Some work on 32bits xcb_connection 2024-12-15 14:57:07 +01:00
ptitSeb
0239305f69 [BOX32][WRAPPER] Added empty 32bits wrapped libnsl 2024-12-13 16:31:37 +01:00
ptitSeb
3ee5558c70 [BOX32][WRAPPER] Added a 32bits dummy libvdpau wrapped lib 2024-12-13 16:19:12 +01:00
ptitSeb
059dc12adc [BOX32][WRAPPER] Added 32bits wrapped libdrm with new wrapperhelper 2024-12-13 16:05:50 +01:00