Tony Wasserka
b5b8ff01d5
CodeCache: Move LibraryJITNaming and GDBSymbols checks to Core
2025-09-11 17:03:50 +02:00
Tony Wasserka
6c86ffdeb7
Core: Remove redundant nullptr check
2025-09-11 17:03:50 +02:00
Tony Wasserka
70a1d92d9f
CodeCache: Drop ComputeCodeMapId member function
2025-09-11 17:03:50 +02:00
Tony Wasserka
0749477eb9
CodeCache: Introduce revamped interfaces
2025-09-11 17:03:50 +02:00
Tony Wasserka
db601d333b
Core: Rename and move AOTIR.cpp and AOTIR.h
...
The new names better reflect the contents after recent/upcoming API changes.
2025-09-11 10:49:07 +02:00
Tony Wasserka
af1c2cccac
Rename AOTIR.cpp to CodeCache.cpp
2025-09-11 10:49:07 +02:00
Tony Wasserka
48787ab460
Context: Drop unneeded header includes
2025-09-11 10:49:07 +02:00
Tony Wasserka
5cf5d3e3a2
docs: Drop reference to removed CreateIRCopy function
2025-09-11 10:49:07 +02:00
LC
30dd9ed267
Merge pull request #4863 from Sonicadvance1/more_cpuid
...
CPUID: Adds new CPU product names that exist
2025-09-10 23:09:33 -04:00
Ryan Houdek
58b5620f97
FEXCore: Fixes OOB access on x87 reduced precision loads
...
x87 80-bit loads, both BCD and regular tword were loading 128-bits of
data when reduced precision was enabled. This was an oversight from the
previous fix a while ago.
Adds a specific reduced precision test for this, and updates the current
test to ensure stores are still tested as well.
2025-09-10 19:19:55 -07:00
Ryan Houdek
327b62ea45
CPUID: Adds new CPU product names that exist
2025-09-10 11:51:04 -07:00
Ryan Houdek
91c6d693df
Merge pull request #4860 from bylaws/susprip
...
JIT: Check for suspend interrupts at back-edges
2025-09-10 10:29:37 -07:00
Lioncache
ad3a024b69
IREmitter: Remove friend class declarations
...
These no longer need specific access to internals.
2025-09-10 13:12:58 -04:00
Tony Wasserka
fee9e91c4f
Core: Drop support for TSO auto migration
2025-09-10 15:36:23 +02:00
Tony Wasserka
1dc560d45a
InstCountCI: Explicitly disable TSO by default
2025-09-10 15:36:23 +02:00
Billy Laws
93096c27f9
Dispatcher: Fix FABI_F32_I16_F80_PTR argument size
...
This takes an f80 as input and returns an f32. A copy-paste error had
this truncating the input float if !TMP_ABIARGS.
2025-09-10 03:14:30 +01:00
Billy Laws
d2714f3338
JIT: Check for suspend interrupts at back-edges
...
Avoids most cases where an infinite loop could lead to suspend interrups
never getting checked.
2025-09-09 22:35:52 +01:00
Billy Laws
b917db34c7
OpcodeDispatcher: Emit RIP metadata for RIP-setting instructions
2025-09-09 22:35:52 +01:00
Billy Laws
d8c615ec65
OpcodeDispatcher: Only flush MMX registers on MMX -> x87 transitions
...
Flushing other regs is not necessary, and breaks any ConvertNZCVToX87 use
which relies previously saved NZCV values as the flag-setting NZCV op after
the save could trigger a flush of NZCV.
2025-09-09 21:29:12 +01:00
Billy Laws
154dd46b6d
OpcodeDispatcher: Don't assert on invalid ALU op encoding
2025-09-09 19:11:05 +01:00
Lioncache
f9c15fa0a5
Frontend/OpcodeDispatcher: Remove unused headers
...
Removes assorted unused headers and forward declarations.
2025-09-09 00:28:05 -04:00
Ryan Houdek
1121f2a1fb
Merge pull request #4853 from lioncash/allocator
...
FEXCore/Allocator: Remove unused headers
2025-09-08 20:25:25 -07:00
Lioncache
a7989eb79f
FEXCore/Allocator: Remove unused headers
...
Reveals some more indirect inclusions.
2025-09-08 22:53:09 -04:00
Ryan Houdek
80c199cefb
Merge pull request #4852 from lioncash/loading
...
FileLoading: Add missing self-header
2025-09-08 19:48:01 -07:00
Lioncache
e4e8683c7b
FileLoading: Add missing self-header
...
Ensures that the exposed interface is visible to the implementation (i.e. gets rid of some -Wmissing-declaration warnings).
2025-09-08 22:13:42 -04:00
Lioncache
b2407352a9
IR: Remove unnecessary forward declarations/headers
...
Pares the base IR header down to a modest size and also reveals a few indirect
reliances on the allocator facilities.
2025-09-08 22:03:25 -04:00
Ryan Houdek
09793d295f
Merge pull request #4849 from lioncash/config
...
Config: Remove unused Context.h include
2025-09-08 16:59:38 -07:00
Ryan Houdek
e9f8c01e04
Merge pull request #4848 from lioncash/thread
...
InternalThreadState: Remove unused includes
2025-09-08 16:59:15 -07:00
Lioncache
f69821d7db
Config: Remove unused Context.h include
...
Removes quite a heavy include from the config system and specifies any
indirect inclusion that were relied on because of it.
2025-09-08 15:23:30 -04:00
Ryan Houdek
1988b432ab
Merge pull request #4846 from pmatos/fix/VSCond
...
Fix mapping for VS and VC condition codes
2025-09-08 11:29:35 -07:00
Lioncache
6b2363d3f6
InternalThreadState: Remove unused headers
...
Removes some includes in the core header and resolves indirect includes elsewhere.
2025-09-08 14:13:01 -04:00
Ryan Houdek
e76af56c86
Merge pull request #4845 from lioncash/thunk
...
Core/Thunks: Remove unused IR header/forward declarations
2025-09-08 10:03:34 -07:00
Ryan Houdek
b7173a3ae2
Merge pull request #4844 from lioncash/builtin
...
General: std::alignment_of -> alignof
2025-09-08 10:03:24 -07:00
Lioncache
9b9ab16b55
Common: Remove duplicated StringUtil functionality
...
We already have an equivalent header within FEXCore that's header only,
so we can adapt it to conform for both cases, allowing for removal of
one of them.
2025-09-08 09:44:25 -04:00
Paulo Matos
14256e7a90
Fix mapping for VS and VC condition codes
...
This doesn't seem to be generated in-code therefore it's not fixing any
existing bug, but fixes the mapping for future uses of the condition code.
2025-09-08 11:41:15 +02:00
Lioncache
d36c387c1f
Core/Thunks: Remove unused IR/forward declarations
...
Moves the IR include into one of the more specific headers, which avoids dumping the IR header into any core bits that use the interface.
Also uncovered a missing header guard.
2025-09-06 22:28:27 -04:00
Lioncache
7e61b172b2
General: std::alignment_of -> alignof
...
We can just use the compiler built-in in these cases. std::alignment_of
mainly has utility in metaprogramming.
2025-09-06 21:23:10 -04:00
Ryan Houdek
bd0cae9298
Merge pull request #4825 from bylaws/unityomg
...
Frontend: Force acq/rel semantics for known Unity ringbuffer offsets
2025-09-06 17:09:13 -07:00
Ryan Houdek
6ae94581bb
Merge pull request #4821 from bylaws/monof
...
Frontend: Fix tailcall handling when mono hacks are enabled
2025-09-06 16:51:08 -07:00
Ryan Houdek
ea8ae2bf2c
Merge pull request #4839 from lioncash/utils
...
Common Utils: Remove unused/unnecessary inclusions from headers
2025-09-06 15:50:00 -07:00
Lioncache
272d2747cd
config_generator: Remove excess formatting arguments for EnumParser handling
...
Each instance had one more argument than necessary.
2025-09-06 11:18:38 -04:00
Lioncache
675956c92d
config_generator: Indent ENVLOADER conditional bodies
...
Makes the indentation consistent with the rest of the generated file.
2025-09-06 10:57:31 -04:00
Lioncache
03410ed4a2
config_generator: Remove unnecessary format() in print_parse_jsonloader_options()
...
This format call essentially does nothing since it has no specifier.
We can also fix up the indentation of the else case too, for consistency.
2025-09-06 10:51:02 -04:00
Lioncache
2613762ac2
InternalThreadState: Make bool operator explicit
...
We definitely don't want the boolean null test to be able to be implicitly converted
(e.g. to an int or whatever else).
For example a non-explicit bool operator allows for silly things like:
NonMovableUniquePtr<...> ptr;
// ...
auto k = 5 + ptr;
to build without issue, which we should really force the user to be explicit about if it's *really* a desired behavior.
2025-09-05 16:29:19 -04:00
Lioncache
831b21cd39
JitSymbols: Remove unused includes
...
Reduces header dependencies (and clarifies existing ones).
2025-09-05 14:27:49 -04:00
Lioncache
62f16a3c4b
FEXServerClient: Remove unnecessary includes from header
...
We can reduce includes, such as logging by specifying a concrete size for logging levels,
allowing the enum to be forward declared. We can also move FillHeader into the cpp file,
allowing the syscalls header to be removed.
2025-09-05 13:45:31 -04:00
LC
3df3999138
Merge pull request #4838 from lioncash/dumper
...
IRDumper: Add missing PrintArg for IndexNamedVectorConstant
2025-09-05 13:06:53 -04:00
Ryan Houdek
1ca6443c9d
Merge pull request #4836 from neobrain/refactor_irscript_cleanup
...
json_ir_generator: Clean up generated assertion statements
2025-09-04 11:21:10 -07:00
Ryan Houdek
a804cb5d07
Merge pull request #4833 from lioncash/ptr
...
CPUBackend: Remove unused variable in CheckCodeBufferUpdate
2025-09-04 11:20:42 -07:00
Ryan Houdek
a0883c9615
Merge pull request #4832 from lioncash/threads
...
Utils/Threads: Minor cleanup
2025-09-04 11:20:24 -07:00