MerryMage
79dfd272a9
configuration: Add settings to enable/disable specific CPU optimizations
6 years ago
MerryMage
d6c3391232
cpu_interrupt_handler: Remove #pragma once from .cpp file
6 years ago
Fernando Sahmkow
94a51e6b21
Core/Common: Address Feedback.
6 years ago
Fernando Sahmkow
8cd81eb66f
SVC: Implement 32-bits wrappers and update Dynarmic.
6 years ago
Fernando Sahmkow
fd631d72a6
ARM: Update Dynarmic and Setup A32 according to latest interface.
6 years ago
Fernando Sahmkow
a7be2fac83
ArmDynarmic32: Setup CNTPCT correctly
6 years ago
Fernando Sahmkow
af0999c735
ARMDynarmicInterface: Correct GCC Build Errors.
6 years ago
Fernando Sahmkow
adc86e3030
Clang Format.
6 years ago
Fernando Sahmkow
6cbdb64f3d
ARMInterface/Externals: Update dynarmic and fit to latest version.
6 years ago
Fernando Sahmkow
cce90e2672
ARMInterface: Correct rebase errors.
6 years ago
Fernando Sahmkow
b5f7040175
Dynarmic Interface: don't clear cache if JIT has not been created.
6 years ago
Fernando Sahmkow
6f0c873d48
General: Cleanup legacy code.
6 years ago
Fernando Sahmkow
f0f2fc4243
SingleCore: Use Cycle Timing instead of Host Timing.
6 years ago
Fernando Sahmkow
db60ca2704
General: Move ARM_Interface into Threads.
6 years ago
Fernando Sahmkow
7b3b33a2e6
Core: Refactor ARM Interface.
6 years ago
Fernando Sahmkow
1cc7c426df
X64 Clock: Reduce accuracy to be less or equal to guest accuracy.
6 years ago
Fernando Sahmkow
c22d3e1e18
ARM/WaitTree: Better track the CallStack for each thread.
6 years ago
Fernando Sahmkow
96c996b6a0
SVC/ARM: Correct svcSendSyncRequest and cache ticks on arm interface.
6 years ago
Fernando Sahmkow
fc47857c3b
ARM: Addapt to new Exclusive Monitor Interface.
6 years ago
Fernando Sahmkow
b121009e03
General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running.
6 years ago
Fernando Sahmkow
5eac520ae3
ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes.
6 years ago
Fernando Sahmkow
a9ed059a07
Scheduler: Remove arm_interface lock and a few corrections.
6 years ago
Fernando Sahmkow
c8e62451c6
Core: Correct rebase.
6 years ago
Fernando Sahmkow
78eeea9f17
General: Add better safety for JIT use.
6 years ago
Fernando Sahmkow
7ee76003ad
General: Recover Prometheus project from harddrive failure
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host
Timing, Reworks the Kernel's Scheduler, Introduce Idle State and
Suspended State, Recreates the bootmanager, Initializes Multicore
system.
6 years ago
Morph
75e120056f
arm_dynarmic_64: Log the instruction when an exception is raised
6 years ago
Morph
393197f37c
arm_dynarmic_32: Log under Core_ARM instead of HW_GPU
6 years ago
ReinUsesLisp
a0cbf4f4e8
arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0
On MSVC builds we treat conversion warnings as errors.
6 years ago
MerryMage
8055a71e00
arm_dynarmic_cp15: Implement CNTPCT
6 years ago
MerryMage
0ac9600204
arm_dynarmic_cp15: Update CP15
6 years ago
MerryMage
fc1c12b2c9
arm_dynarmic_32: InterpreterFallback should never happen
6 years ago
Lioncash
dca9c90af3
physical_core: Make use of std::make_unique instead of std::make_shared in ctor
We can also allow unicorn to be constructed in 32-bit mode or 64-bit
mode to satisfy the need for both interpreter instances.
Allows this code to compile successfully of non x86-64 architectures.
6 years ago
MerryMage
0bbafff3db
dynarmic: Add option to disable CPU JIT optimizations
6 years ago
bunnei
5ce3dc16a5
core: arm_unicorn: Fix interpret fallback by temporarily mapping instruction page.
6 years ago
bunnei
a7b2390b73
dynarmic: Enable strict alignment checks.
- Also add a missing include.
6 years ago
bunnei
5b9e69e7fe
core: memory: Move to Core::Memory namespace.
- helpful to disambiguate Kernel::Memory namespace.
6 years ago
bunnei
ed940661a8
core: kernel: Move SVC to its own namesapce.
6 years ago
bunnei
1be8e24189
arm_interface: Ensure ThreadContext is zero'd out.
6 years ago
Lioncash
02e095313a
CMakeLists: Specify -Wextra on linux builds
Allows reporting more cases where logic errors may exist, such as
implicit fallthrough cases, etc.
We currently ignore unused parameters, since we currently have many
cases where this is intentional (virtual interfaces).
While we're at it, we can also tidy up any existing code that causes
warnings. This also uncovered a few bugs as well.
6 years ago
bunnei
048ac77adc
core: Implement separate A32/A64 ARM interfaces.
6 years ago
bunnei
9137455d86
core: dynarmic: Add CP15 from Citra.
6 years ago
Fernando Sahmkow
2f55c11a35
ARM_Interface: Cache the JITs instead of deleting/recreating.
This was a bug inherited from citra which was fixed by then at some
time. This commit corrects such bug and ensures JITs are correctly
recycled.
6 years ago
Fernando Sahmkow
6fc0790f3a
Core: Set all hardware emulation constants in a single file.
6 years ago
Lioncash
11c5ae60e6
core/arm: Remove usage of global GetCurrentThread()
Now both CPU backends go through their referenced system instance to
obtain the current thread.
6 years ago
Fernando Sahmkow
8eb175481c
System: Address Feedback
6 years ago
Fernando Sahmkow
0a5e0d4777
Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.
This commit instends on better naming the new purpose of this classes.
6 years ago
Fernando Sahmkow
fb17429a0b
ArmInterface: Delegate Exclusive monitor factory to exclusive monitor interfasce.
6 years ago
Markus Wick
f74d95547e
core/memory + arm/dynarmic: Use a global offset within our arm page table.
This saves us two x64 instructions per load/store instruction.
TODO: Clean up our memory code. We can use this optimization here as well.
6 years ago
Lioncash
b5f69f4cc9
core/memory: Migrate over Write{8, 16, 32, 64, Block} to the Memory class
The Write functions are used slightly less than the Read functions,
which make these a bit nicer to move over.
The only adjustments we really need to make here are to Dynarmic's
exclusive monitor instance. We need to keep a reference to the currently
active memory instance to perform exclusive read/write operations.
6 years ago
Lioncash
cc3d6fdf73
core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory class
With all of the trivial parts of the memory interface moved over, we can
get right into moving over the bits that are used.
Note that this does require the use of GetInstance from the global
system instance to be used within hle_ipc.cpp and the gdbstub. This is
fine for the time being, as they both already rely on the global system
instance in other functions. These will be removed in a change directed
at both of these respectively.
For now, it's sufficient, as it still accomplishes the goal of
de-globalizing the memory code.
6 years ago