150 Commits

Author SHA1 Message Date
DeaTh-G
7a3db6837f add remaining altivec instructions 2024-11-24 11:26:14 +01:00
DeaTh-G
a382cd5653 add vpkuhus implementation 2024-11-24 11:26:14 +01:00
DeaTh-G
c8ecd79c99 Fix instruction implementations based on unit tests 2024-11-24 11:26:14 +01:00
DeaTh-G
e33e0af159 add more basic instructions 2024-11-24 11:26:14 +01:00
DeaTh-G
db477c131d Fix indexing on certain instructions 2024-11-24 11:26:13 +01:00
DeaTh-G
cdfa0907fd Add more instructions regarding Bakugan Battle Brawlers 2024-11-24 11:26:13 +01:00
DeaTh-G
7dd4f91ac6 add time fields struct 2024-11-24 11:25:45 +01:00
Sajid
4b47b24afd Allow overloads of ppc load/store macros 2024-11-24 16:16:08 +06:00
Sajid
e5317bda48 Detect MMIO writes via eieio 2024-11-24 15:36:50 +06:00
Hyper
4357a55eff PowerUtils: allow constructing null pointers with xpointer 2024-11-24 09:25:22 +00:00
Hyper
62e3188a81 PowerUtils: implemented endian swap for enums 2024-11-21 01:47:17 +00:00
Skyth
d8676283fd Implement a better way to combat Clang's unsafe code reordering. 2024-11-17 21:00:36 +03:00
Skyth
a7c970d324 Fix a few warnings. 2024-10-27 18:29:28 +03:00
Hyper
6810be7315 Update bin2h to allow changing the output array type 2024-10-17 16:59:45 +01:00
Skyth
6e49be2702 Allow midasm hook return behavior to be configured. 2024-10-17 17:39:31 +03:00
Skyth
516e23f1f7 Add midasm hook patching. 2024-10-06 18:54:47 +03:00
Sajid
1f5d7c32e8 Add additional xbox definitions 2024-10-01 15:24:43 +06:00
Skyth
183027d563 Remove hardcoded recompiler, load TOML file for configuration. 2024-10-01 00:09:18 +03:00
Sajid
54cb41c4db Recompiler: Fix accidental impl linkage 2024-09-30 20:41:32 +06:00
Sajid
8d8346c2a2 Recompiler: Use implementation aliases 2024-09-30 18:45:07 +06:00
Sajid
c4de70262f Recompiler: write ppc_context.h 2024-09-30 13:39:47 +06:00
Sajid
9d74b4ecb4 Add additional xbox structures 2024-09-30 10:55:30 +06:00
Sajid
ae0fb21f08 Fix xex header parser 2024-09-30 09:43:50 +06:00
Sajid
3a8c9941f7 don't build sample and tests if included as a library 2024-09-30 09:06:09 +06:00
Sajid
3e3c62ad82 CMakeLists fixes for dependants 2024-09-28 22:57:35 +06:00
Sajid
6898a7d97d Named recompiled entry point 2024-09-28 22:44:27 +06:00
Skyth
c83c3d51bc Fix vcsxwfp128 disassembly error. 2024-09-28 18:54:04 +03:00
Skyth
5414070cd3 Change vrefp/vrsqrtefp to precise variants for now. 2024-09-28 13:53:42 +03:00
Skyth
d5f44c11c5 Don't print save/restore calls when non volatile registers as local variables option is enabled. 2024-09-27 19:26:13 +03:00
Skyth
acd49010e6 Remove MSVC macros & implement weak linking properly for clang. 2024-09-27 18:47:35 +03:00
Skyth
e025cd65cd Saturate D3D color. 2024-09-27 15:40:46 +03:00
Skyth
2ae23e7e5e Change arch to haswell. 2024-09-27 12:37:25 +03:00
Skyth
8639a690e5 Make some FPU operations more explicit. 2024-09-27 12:37:12 +03:00
Skyth
edbb86913b Disable buffer overrun checks. 2024-09-26 18:31:56 +03:00
Skyth
dcc772c184 Detect identical flush mode calls and don't print them. 2024-09-26 17:24:04 +03:00
Skyth
7fa7ff161f Add a read barrier after every label. 2024-09-26 16:52:18 +03:00
Skyth
261e8c1d60 Print only actually used labels. 2024-09-26 10:44:16 +03:00
Skyth
70497754d9 Add several config options for more efficient code generation. 2024-09-25 21:23:01 +03:00
Skyth
746947455d Push the updated PPC context header. 2024-09-24 14:48:50 +03:00
Skyth
954d11c65e Handle setjmp/longjmp explicitly. 2024-09-24 14:48:15 +03:00
Sajid
4453d56df0 Import lookup fixup 2024-09-24 16:30:26 +06:00
Sajid
6bddfaa23d Use win32 style __imp__ prefix on xbox imports 2024-09-24 16:05:11 +06:00
Sajid
f6d7c97986 Define xbox exports on load 2024-09-24 16:02:41 +06:00
Skyth
9a7caef9af Make a few failed Xenia PPC tests pass. 2024-09-24 10:48:35 +03:00
Skyth
f9ea8f5f53 Fix bit shifting mistake. 2024-09-24 00:36:19 +03:00
Skyth
e2835efa72 Check for redundant operations. 2024-09-23 22:27:02 +03:00
Skyth
aef470a0f0 Handle float to integer conversion overflow. 2024-09-23 18:24:50 +03:00
Skyth
7f43723ff0 Use bitwise operations for fabs/fnabs/fneg. 2024-09-23 17:25:11 +03:00
Skyth
989ed13d04 Add a check for missing switch cases. 2024-09-23 15:42:27 +03:00
Skyth
175c0de2ac Fix weird usage of the base variable. 2024-09-23 15:33:29 +03:00