Commit Graph

5069 Commits

Author SHA1 Message Date
ptitSeb
89a49db558 [BOX32] Adjusted some 32bits wrapped functions 2024-09-13 11:08:40 +02:00
ptitSeb
1ee51a54de [BOX32][TRACE] Better trace for some 32bits wrapped function calls 2024-09-13 11:08:10 +02:00
ptitSeb
68f394a38b [TRACE] Better trace for 32bits FF 52 opcode 2024-09-13 11:07:31 +02:00
ptitSeb
32c94ac31a [BOX32] Fixed 32bits wrapped localeconv (for #1780) 2024-09-13 10:58:10 +02:00
ptitSeb
af476e0d10 [BOX32] Fixed gethostbyname 32bits wrapped function (for #1780 but still crashing) 2024-09-13 10:47:47 +02:00
JunChi1022
b504d07afe
[DYNAREC] fix page calculation error (#1822)
Some checks failed
Build and Release Box64 / build (ubuntu-latest, ANDROID, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ANDROID, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Trace) (push) Failing after 0s
2024-09-12 19:04:28 +02:00
Yang Liu
9544fbdff9
[RV64_DYNAREC] Refactored vector SEW tracking (#1820) 2024-09-12 19:03:00 +02:00
Yang Liu
431365d1f8
[RV64_DYNAREC] Fixed a typo on vector_sew initialization (#1819) 2024-09-12 14:14:54 +02:00
ptitSeb
693b4adb4b [STATIC] Forgot this definition 2024-09-12 14:07:15 +02:00
ptitSeb
1a637cb1d8 Fixed a typo 2024-09-12 14:01:53 +02:00
ptitSeb
0d952641ed [STATIC] Try to fix static build 2024-09-12 13:56:52 +02:00
ptitSeb
418e2a00ce [BOX32] Simplified 32bits old pthread cond functions
Some checks failed
Build and Release Box64 / build (ubuntu-latest, ANDROID, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ANDROID, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Trace) (push) Failing after 0s
2024-09-12 10:32:33 +02:00
ptitSeb
d1d2de33e6 [WRAPPER] Added handling of old pthread cond functions 2024-09-12 10:32:11 +02:00
ptitSeb
ab84faa3ca [WRAPPER] Added 1 wrapped function to glibc2 2024-09-12 10:31:29 +02:00
ptitSeb
fc7f83c60b [BOX32][WRAPPER] Added support for old pthread_kill (fixing hanging steamcmd)
Some checks failed
Build and Release Box64 / build (ubuntu-latest, ANDROID, Release) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, ANDROID, Trace) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, ARM64, Box32) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, ARM64, Release) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, ARM64, StaticBuild) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, ARM64, Trace) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Box32) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Release) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, LARCH64, StaticBuild) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Trace) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RISCV, Box32) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RISCV, Release) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RISCV, StaticBuild) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RISCV, Trace) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RK3588, Box32) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RK3588, Release) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RK3588, StaticBuild) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, RK3588, Trace) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Release) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Trace) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, X64, Box32) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, X64, Release) (push) Failing after 1s
Build and Release Box64 / build (ubuntu-latest, X64, Trace) (push) Failing after 1s
2024-09-11 18:01:23 +02:00
ptitSeb
af028c9bad [WRAPPER] Small fixes for x86_64 build when using old pthread_kill 2024-09-11 18:00:45 +02:00
ptitSeb
29daae551c [BOX32] Improved 32bits unsupported syscall warning, and added syscall 240 2024-09-11 16:55:42 +02:00
ptitSeb
e1a91ea420 [BOX32] Improved trace for 32bits pthread_setname_np 2024-09-11 16:54:17 +02:00
ptitSeb
bd60ed8df0 [BOX32] Improved hash<->64bits handling 2024-09-11 16:53:51 +02:00
Yang Liu
6b6d20732e
[RV64_DYNAREC] Added more 0F opcodes for vector (#1817) 2024-09-11 14:26:50 +02:00
Yang Liu
4d60b75240
[RV64_DYNAREC] Added more 0F opcodes for vector and optimized some opcodes too (#1816)
Some checks failed
Build and Release Box64 / build (ubuntu-latest, ANDROID, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ANDROID, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, ARM64, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, LARCH64, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RISCV, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, StaticBuild) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, RK3588, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, TERMUX, Trace) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Box32) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Release) (push) Failing after 0s
Build and Release Box64 / build (ubuntu-latest, X64, Trace) (push) Failing after 0s
* [RV64_DYNAREC] Optimized 66 0F 67 PACKUSWB opcode

* [RV64_DYNAREC] Optimized 66 0F 6C PUNPCKLQDQ opcode

* [RV64_DYNAREC] Added some 0F opcodes for vector

* review
2024-09-11 10:25:04 +02:00
Yang Liu
fc9900c8f6
[RV64_DYNAREC] Added more 66 0F opcodes for vector (#1815)
* [RV64_DYNAREC] Added more 66 0F opcodes for vector

* [RV64_DYNAREC] Fixed PACKUSWB for vlen >= 256
2024-09-10 21:11:58 +02:00
Aidan
629346b6a7
[SDORYON1] Oryon1 (Snapdragon Elite) support (#1786) 2024-09-10 19:57:36 +02:00
ptitSeb
e95be7cd3f Improved legendary stability 2024-09-10 19:21:15 +02:00
ptitSeb
1bfb50f29a [WRAPPER] Updat generated wrapper files 2024-09-10 19:20:43 +02:00
rajdakin
8187c35ea8
[WRAPPERS] Fixed some wrong wrappings (#1814) 2024-09-10 17:46:10 +02:00
rajdakin
0d6028d837
[WRAPPERHELPER] Added per-arch override, always include 'stdc-predef.h', better parsing (#1813) 2024-09-10 17:25:37 +02:00
ptitSeb
2127eaea22 [BOX32] Put back pthread_t behind hash, but ease hash range to have more native values 2024-09-10 16:55:25 +02:00
ptitSeb
7794a623aa [BOX32] Fix and simplified 32bits threads handling 2024-09-10 15:10:28 +02:00
ptitSeb
0443edc034 [BOX32] Fixed wrapping 32bits version of __cxa_finalize 2024-09-10 15:09:45 +02:00
ptitSeb
a7f8dbac56 [WRAPPER] Minors adjustments to pulse audio wrapping 2024-09-10 11:25:07 +02:00
Yang Liu
b0ec124329
[RV64_DYNAREC] Added 66 0F D4 PADDQ opcode for vector and fixes SEW cache transform (#1812)
* [RV64_DYNAREC] Added 66 0F D4 PADDQ opcode for vector

* [RV64_DYNAREC] Transform SEW cache after fpu cache
2024-09-10 10:52:04 +02:00
ptitSeb
b40121c9b0 [VULKAN] Added missing wrapper for vkCreateSamplerYcbcrConversionKHR 2024-09-10 10:43:54 +02:00
ptitSeb
cc9984a082 Fixed alignement of thread funcitons (fixed regression for #1810) 2024-09-10 10:32:45 +02:00
Yang Liu
c22758d794
[RV64_DYNAREC] Added more 66 0F opcodes for vector (#1811) 2024-09-10 08:58:22 +02:00
ptitSeb
1b48cd157a [RCFILE] Slightly changed how BOX64_ARGS behave, and added BOX64_INSERT_ARGS 2024-09-09 19:45:48 +02:00
ptitSeb
362402ffbf Improved wrapped function clone handling of CLONE_NEWUSER flag 2024-09-09 17:11:29 +02:00
ptitSeb
5ce868b100 When showing opcode on SEGFAULT/SIGBUS, show if it's x86 or x64 2024-09-09 17:10:04 +02:00
ptitSeb
823d1cc004 [DYNAREC] Simplified a bit getX64Address utility function 2024-09-09 17:07:16 +02:00
ptitSeb
2ce5beae56 [WRAPPER] Added H as paramterand, added 2 wrapped function from libatomic (for linux BeamNG) 2024-09-09 17:03:46 +02:00
ptitSeb
34fcbbd7b7 [TRACE] Better trace for F3 0F 1E FA opcode 2024-09-09 16:02:37 +02:00
ptitSeb
bdde96be95 [ARM64_DYNAREC] Added 64 0F 28/29 opcodes 2024-09-09 16:02:04 +02:00
rajdakin
26b7a49d82
[WRAPPERHELPER] Fixed preprocessor logic, moved type validation to machine (#1808) 2024-09-08 22:26:35 +02:00
ptitSeb
fa8a5a2033 [WRAPPER] Added 2 wrapped function to libatomic 2024-09-08 17:25:58 +02:00
rajdakin
c87a56ef37
[WRAPPERHELPER] Major enhancements in output quality, allow for generic type mapping (#1807) 2024-09-08 16:43:16 +02:00
rajdakin
2e04ff93ca
[WRAPPED] Fixed some libc wrapped functions (#1806)
* [WRAPPED] Fixed some libc wrapped functions

* [WRAPPED] Fixed static build, added back

* [WRAPPED] Fixed unlimited wrapping

* [WRAPPED] Forgot to update
2024-09-08 15:10:45 +02:00
ptitSeb
a9f96b9d62 Show x86opcode at segfault if segfault address is not pc 2024-09-08 15:06:54 +02:00
ptitSeb
8f855f5dde [ARM64_DYNAREC] Avoid computing flags if they are just recomputed at jump point 2024-09-08 14:18:03 +02:00
ptitSeb
6d3fa25d5f [ARM64_DYNAREC] Small optim for 0F C6 opcode 2024-09-08 14:03:47 +02:00
ptitSeb
57b7bcf8f4 [WRAPPING] Updated gtk3 wrapping (still more work to do) 2024-09-08 10:02:39 +02:00