Commit Graph

2921 Commits

Author SHA1 Message Date
Lander Gallastegi
e54351eefb Implemented BitfieldInsert and BitfieldU/SExtract 2025-04-10 16:53:49 +02:00
Lander Gallastegi
515fb1241b Consider else branches for subprogram 2025-04-10 12:43:55 +02:00
Lander Gallastegi
18cf7a3f2d Implement FPTrunc and FPFrac 2025-04-10 09:25:51 +02:00
Lander Gallastegi
0885dc733f Long jumps for condition and loops 2025-04-10 09:11:30 +02:00
Lander Gallastegi
a921e290c1 Merge branch 'read-const' of https://github.com/LNDF/shadPS4 into read-const 2025-04-10 08:50:03 +02:00
Lander Gallastegi
6f6652a46a General fixes 2025-04-10 02:33:09 +02:00
Lander Gallastegi
7ca985207c Implement MinTri, MaxTri, MedTri 2025-04-10 02:33:09 +02:00
Lander Gallastegi
72efc11433 Fix loop coverage 2025-04-10 02:33:09 +02:00
Lander Gallastegi
8e938268f9 Correctly initialize Address 2025-04-10 02:33:09 +02:00
Lander Gallastegi
ab158fd4d7 Don't reuse stack space for now 2025-04-10 02:33:09 +02:00
Lander Gallastegi
c47ef83cc0 Operand holder / fix memory corruption 2025-04-10 02:33:09 +02:00
Lander Gallastegi
4fec1c7fce x64 fixes 2025-04-10 02:33:09 +02:00
Lander Gallastegi
f516ab2dec Fix build 2025-04-10 02:33:09 +02:00
Lander Gallastegi
5307eeca02 Add break conditions to subprogram 2025-04-10 02:33:09 +02:00
Lander Gallastegi
a578c7db62 Finish emits 2025-04-10 02:33:09 +02:00
Lander Gallastegi
258a0225c2 Floating point and fixes 2025-04-10 02:33:09 +02:00
Lander Gallastegi
3d971701db Utils, context, convert and ctx get set 2025-04-10 02:33:09 +02:00
Lander Gallastegi
2584ec2d76 Copy context get set 2025-04-10 02:33:09 +02:00
Lander Gallastegi
35d3ee8ecd Composite 2025-04-10 02:33:09 +02:00
Lander Gallastegi
20f7a7231e Implement some opecodes 2025-04-10 02:33:09 +02:00
Lander Gallastegi
2e6f3aae32 Better conditions 2025-04-10 02:33:09 +02:00
Lander Gallastegi
4224a95583 x64 backend core and context 2025-04-10 02:33:09 +02:00
Lander Gallastegi
7545ae33b1 x64 backend base 2025-04-10 02:33:09 +02:00
Lander Gallastegi
fff2383c5e Flattening pass adjustments 2025-04-10 02:33:09 +02:00
Lander Gallastegi
057df5d3d1 clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
b6e9406652 Fixed ImmValue compute 2025-04-10 02:33:09 +02:00
Lander Gallastegi
faf479dcd5 Adjust SPIR-V EmitReadConst 2025-04-10 02:33:09 +02:00
Lander Gallastegi
1f8ef4e1f6 Fix GCC build 2025-04-10 02:33:09 +02:00
Lander Gallastegi
67dd111dcc Fix TrackSharp 2025-04-10 02:33:09 +02:00
Lander Gallastegi
52650d2c55 Finish IR 2025-04-10 02:33:09 +02:00
Lander Gallastegi
da65ae3bcb Num executions 2025-04-10 02:33:09 +02:00
Lander Gallastegi
418f7daa57 clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
301f51e57d ComputeValue rewrite 2025-04-10 02:33:09 +02:00
Lander Gallastegi
47cc275203 Compute value 2025-04-10 02:33:09 +02:00
Lander Gallastegi
21aeccad36 Typo 2025-04-10 02:33:09 +02:00
Lander Gallastegi
85b44af270 Operation codes 2025-04-10 02:33:09 +02:00
Lander Gallastegi
79f4648c77 Use correct types 2025-04-10 02:33:09 +02:00
Lander Gallastegi
676b06db0f Squashed commit of the following:
commit 39328be45ed83d252e491b61da5cb4d767ff100d
Author: Lander Gallastegi <landergallastegi@gmail.com>
Date:   Tue Mar 11 15:40:44 2025 +0100

    Fix trivialy copiable

commit f0633525b343dab7ea75cd7c809c936cb67e572f
Author: Lander Gallastegi <landergallastegi@gmail.com>
Date:   Tue Mar 11 00:29:42 2025 +0100

    Compute value

commit 8c42a014ee925b61c5ea5721423da3211a635eb8
Author: Lander Gallastegi <landergallastegi@gmail.com>
Date:   Tue Mar 11 00:29:31 2025 +0100

    Add missing operations
2025-04-10 02:33:09 +02:00
Lander Gallastegi
c36b6d6adf clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
5536febd73 Better documentation 2025-04-10 02:33:09 +02:00
Lander Gallastegi
eebd557efc ImmValue 2025-04-10 02:33:09 +02:00
Lander Gallastegi
c1a577b598 Fix subprogram generation 2025-04-10 02:33:09 +02:00
Lander Gallastegi
068573e9d6 clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
0f6912cf18 Subprogram creation 2025-04-10 02:33:09 +02:00
Lander Gallastegi
920efdf37c Usefulness of conditional tree 2025-04-10 02:33:09 +02:00
Lander Gallastegi
ad488a26af Add conditional tree 2025-04-10 02:33:09 +02:00
Lander Gallastegi
7e1159bdaf Fix unreacheable ASL dump 2025-04-10 02:33:09 +02:00
Lander Gallastegi
85334a924a ASL dumping 2025-04-10 02:33:09 +02:00
Lander Gallastegi
e100783357 Handle non inmediate offset on S_LOAD_DWORD 2025-04-10 02:33:09 +02:00
Lander Gallastegi
da118e3bd9 Dump IR program 2025-04-10 02:33:09 +02:00