Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: add option to break on unmapped access | Liam | 2022-12-02 | 1 | -2/+19 |
| | |||||
* | Initial ARM64 support | Liam | 2022-11-09 | 1 | -0/+5 |
| | |||||
* | arm_interface: curb infinite recursion in stacktrace generation | Liam | 2022-10-27 | 1 | -1/+1 |
| | |||||
* | code: dodge PAGE_SIZE #define | Kyle Kienapfel | 2022-08-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779 | ||||
* | arm_dynarmic: Fix nullptr fastmem arenas | Merry | 2022-08-09 | 1 | -6/+9 |
| | | | | Unable to enable fastmem of exclusive access without a valid fastmem arena. | ||||
* | core/arm: fix build error | Liam | 2022-08-08 | 1 | -1/+5 |
| | |||||
* | Merge pull request #8637 from liamwhite/bad-interrupts | bunnei | 2022-08-08 | 1 | -6/+7 |
|\ | | | | | kernel: unlayer CPU interrupt handling | ||||
| * | kernel: unlayer CPU interrupt handling | Liam | 2022-07-25 | 1 | -6/+7 |
| | | |||||
* | | Merge pull request #8240 from liamwhite/count-cycles | Morph | 2022-08-08 | 1 | -4/+11 |
|\ \ | |/ |/| | core/arm: re-enable cycle counting | ||||
| * | core/arm: increase minimum_run_cycles | Liam | 2022-06-22 | 1 | -1/+1 |
| | | |||||
| * | core/arm: re-enable cycle counting | merry | 2022-06-22 | 1 | -3/+10 |
| | | |||||
* | | Merge pull request #8569 from merryhime/watchpoints | merry | 2022-07-17 | 1 | -3/+1 |
|\ \ | | | | | | | dynarmic: Abort watchpoints ASAP | ||||
| * | | dynarmic: Abort watchpoints ASAP | Merry | 2022-07-15 | 1 | -3/+1 |
| | | | |||||
* | | | core/arm: skip watchpoint checks when reading instructions | Liam | 2022-07-16 | 1 | -3/+3 |
|/ / | |||||
* | | Merge pull request #8501 from liamwhite/backtrace-again | Mai | 2022-07-08 | 1 | -5/+25 |
|\ \ | | | | | | | core/arm: better support for backtrace generation | ||||
| * | | core/arm: better support for backtrace generation | Liam | 2022-06-25 | 1 | -5/+25 |
| |/ | |||||
* / | dynarmic: Stop ReadCode callbacks to unmapped addresses | Liam | 2022-06-22 | 1 | -12/+30 |
|/ | |||||
* | core/debugger: memory breakpoint support | Liam | 2022-06-16 | 1 | -11/+58 |
| | |||||
* | core/debugger: Improved stepping mechanism and misc fixes | Liam | 2022-06-01 | 1 | -34/+11 |
| | |||||
* | core/debugger: Implement new GDB stub debugger | Liam | 2022-06-01 | 1 | -6/+29 |
| | |||||
* | Remove unused PrepareReschedule function | Merry | 2022-04-24 | 1 | -4/+0 |
| | |||||
* | general: Convert source file copyright comments over to SPDX | Morph | 2022-04-23 | 1 | -3/+2 |
| | | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | ||||
* | core/arm: separate backtrace collection | Liam | 2022-04-21 | 1 | -0/+19 |
| | |||||
* | Merge pull request #8188 from merryhime/jit-race-page-table-changed | bunnei | 2022-04-16 | 1 | -20/+28 |
|\ | | | | | dynarmic: Fix race when switching page tables | ||||
| * | dynarmic: Fix race when switching page tables | merry | 2022-04-10 | 1 | -20/+28 |
| | | |||||
* | | dynarmic: Fix single core mode | merry | 2022-04-13 | 1 | -1/+1 |
|/ | | | | Regression introduced in a5d040df3d. Closes #8201. | ||||
* | Merge pull request #8148 from merryhime/interrupts | Fernando S | 2022-04-07 | 1 | -19/+18 |
|\ | | | | | dynarmic: Better interrupts | ||||
| * | arm_dynarmic: Use HaltReason for svc calls and reschedules | merry | 2022-04-03 | 1 | -10/+9 |
| | | |||||
| * | dynarmic: Better interrupts | merry | 2022-04-03 | 1 | -11/+11 |
| | | |||||
* | | dynarmic: Print stack trace on unrecognised instruction or other exception | merry | 2022-04-05 | 1 | -0/+2 |
| | | |||||
* | | configuration: Add Paranoid CPU accuracy level | merry | 2022-03-26 | 1 | -22/+28 |
|/ | | | | Disables most optimizations for the paranoid. | ||||
* | Revert "dynarmic: Reduce size of code caches" | bunnei | 2022-03-23 | 1 | -2/+2 |
| | |||||
* | dynarmic: Reduce size of code caches | Merry | 2022-03-13 | 1 | -2/+2 |
| | |||||
* | dynarmic: Inline exclusive memory accesses | merry | 2022-02-27 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | Inlines implementation of exclusive instructions into JITted code, improving performance of applications relying heavily on these instructions. We also fastmem these instructions for additional speed, with support for appropriate recompilation on fastmem failure. An unsafe optimization to disable the intercore global_monitor is also provided, should one wish to rely solely on cmpxchg semantics for safety. See also: merryhime/dynarmic#664 | ||||
* | settings, arm_dynarmic, yuzu qt: Move CPU debugging option | lat9nq | 2021-07-08 | 1 | -1/+1 |
| | | | | | | Decouples the CPU debugging mode from the enumeration to its own boolean. After this, it moves the CPU Debugging tab over to a sub tab underneath the Debug tab in the configuration UI. | ||||
* | arm_dynarmic{32,64}: Fixes from test build | lat9nq | 2021-07-08 | 1 | -9/+3 |
| | | | | | Now sets optimizations regardless of the Settings. Drops unsafe fastmem optimization. | ||||
* | core,common,yuzu qt: Add CPU accuracy option 'Auto' | lat9nq | 2021-07-08 | 1 | -4/+18 |
| | | | | | | | The current CPU accuracy settings in yuzu are fairly polarized and require more than common knowledge to know what the optimal settings for yuzu would be. This adds a curated option called 'Auto' that applies a few at the moment known-good unsafe optimizations to Dynarmic. | ||||
* | common: Replace common_sizes into user-literals | Wunkolo | 2021-06-24 | 1 | -2/+5 |
| | | | | | | | | | | | | | Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals. | ||||
* | Update dynarmic and add new unsafe CPU option. | Fernando Sahmkow | 2021-06-20 | 1 | -0/+3 |
| | |||||
* | General: Add settings for fastmem and disabling adress space check. | FernandoS27 | 2021-06-11 | 1 | -1/+4 |
| | |||||
* | core: Make use of fastmem | Markus Wick | 2021-06-11 | 1 | -0/+1 |
| | |||||
* | Merge pull request #6385 from degasus/save_memory_access | bunnei | 2021-05-31 | 1 | -13/+15 |
|\ | | | | | core/memory: Check our memory fallbacks for out-of-bound behavior. | ||||
| * | core/arm_interface: Improve the performance of memory fallbacks. | Markus Wick | 2021-05-29 | 1 | -13/+15 |
| | | | | | | | | | | We just create one memory subsystem. This is a constant all the time. So there is no need to call the non-inlined parent.Memory() helper on every callback. | ||||
* | | externals: Update dynarmic. | Markus Wick | 2021-05-29 | 1 | -3/+3 |
|/ | | | | The new version supports fastmem on a64. | ||||
* | core/arm_interface: Call SVC after end of dynarmic block. | Markus Wick | 2021-05-27 | 1 | -6/+15 |
| | | | | | | So we can modify all of dynarmic states within SVC without ExceptionalExit. Especially as the ExceptionalExit hack is dropped on upstream dynarmic. | ||||
* | core/arm: Drop ChangeProcessorID. | Markus Wick | 2021-05-26 | 1 | -4/+0 |
| | | | | | | This code was used to switch the CPU ID on thread switches. However since "hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.", the CPU ID is not a constant. This has been dead code since this rewrite, and dropped in dynarmic as well. So there is no need to keep it. | ||||
* | Merge pull request #6321 from lat9nq/per-game-cpu | bunnei | 2021-05-21 | 1 | -5/+5 |
|\ | | | | | configuration: Add CPU tab to game properties and slight per-game settings rework | ||||
| * | general: Make CPU accuracy and related a Settings::Setting | lat9nq | 2021-05-16 | 1 | -5/+5 |
| | | | | | | | | | | Required to make CPU accuracy and unsafe settings available to use as a per-game setting. | ||||
* | | core: Make variable shadowing a compile-time error | Lioncash | 2021-05-16 | 1 | -1/+1 |
|/ | | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely. | ||||
* | service: Resolve cases of member field shadowing | Lioncash | 2021-05-04 | 1 | -6/+6 |
| | | | | | Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error. | ||||
* | common: Move settings to common from core. | bunnei | 2021-04-15 | 1 | -1/+1 |
| | | | | - Removes a dependency on core and input_common from common. | ||||
* | arm_dynarmic: Increase size of code cache | MerryMage | 2021-04-02 | 1 | -0/+4 |
| | |||||
* | arm_dynarmic: Always have a 'valid' jit instance | MerryMage | 2021-03-24 | 1 | -23/+8 |
| | |||||
* | core: arm_dynarmic: Ensure JIT state is saved/restored on page table changes. | bunnei | 2021-03-21 | 1 | -0/+5 |
| | | | | - We re-create the JIT here without preserving any state. | ||||
* | arm_dynarmic_32: Print out CPSR.T on exception | MerryMage | 2021-02-01 | 1 | -2/+3 |
| | |||||
* | arm: dynarmic: Reintroduce JIT checks on SaveContext/LoadContext. | bunnei | 2021-01-29 | 1 | -0/+6 |
| | |||||
* | core: arm: Remove unnecessary JIT checks. | bunnei | 2021-01-29 | 1 | -12/+0 |
| | |||||
* | arm: arm_dynarmic: Skip calls when JIT is invalid. | bunnei | 2021-01-29 | 1 | -0/+12 |
| | | | | - This can happen if called from an idle or suspension thread. | ||||
* | core: Silence unhandled enum in switch warnings | ReinUsesLisp | 2021-01-09 | 1 | -8/+1 |
| | |||||
* | dynarmic: Add Unsafe_InaccurateNaN optimization | MerryMage | 2021-01-02 | 1 | -0/+3 |
| | |||||
* | core/memory: Read and write page table atomically | ReinUsesLisp | 2020-12-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Squash attributes into the pointer's integer, making them an uintptr_t pair containing 2 bits at the bottom and then the pointer. These bits are currently unused thanks to alignment requirements. Configure Dynarmic to mask out these bits on pointer reads. While we are at it, remove some unused attributes carried over from Citra. Read/Write and other hot functions use a two step unpacking process that is less readable to stop MSVC from emitting an extra AND instruction in the hot path: mov rdi,rcx shr rdx,0Ch mov r8,qword ptr [rax+8] mov rax,qword ptr [r8+rdx*8] mov rdx,rax -and al,3 and rdx,0FFFFFFFFFFFFFFFCh je Core::Memory::Memory::Impl::Read<unsigned char> mov rax,qword ptr [vaddr] movzx eax,byte ptr [rdx+rax] | ||||
* | hle: kernel: physical_core: Clear exclusive state after each run. | bunnei | 2020-12-06 | 1 | -0/+3 |
| | | | | - This is closer to pre-multicore behavior, and works a bit better. | ||||
* | core: arm: Implement InvalidateCacheRange for CPU cache invalidation. | bunnei | 2020-11-29 | 1 | -0/+7 |
| | |||||
* | hle: kernel: multicore: Replace n-JITs impl. with 4 JITs. | bunnei | 2020-11-29 | 1 | -0/+4 |
| | |||||
* | core: Remove usage of unicorn | Lioncash | 2020-11-04 | 1 | -0/+1 |
| | | | | | | | | Unicorn long-since lost most of its use, due to dynarmic gaining support for handling most instructions. At this point any further issues encountered should be used to make dynarmic better. This also allows us to remove our dependency on Python. | ||||
* | Revert "core: Fix clang build" | bunnei | 2020-10-21 | 1 | -5/+5 |
| | |||||
* | core: Fix clang build | Lioncash | 2020-10-18 | 1 | -5/+5 |
| | | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | ||||
* | dynarmic: Add unsafe optimizations | MerryMage | 2020-08-16 | 1 | -1/+12 |
| | |||||
* | configure_cpu: Show/Hide debugging options | MerryMage | 2020-07-11 | 1 | -23/+25 |
| | |||||
* | configuration: Add settings to enable/disable specific CPU optimizations | MerryMage | 2020-07-11 | 1 | -4/+24 |
| | |||||
* | Core/Common: Address Feedback. | Fernando Sahmkow | 2020-06-28 | 1 | -2/+3 |
| | |||||
* | SVC: Implement 32-bits wrappers and update Dynarmic. | Fernando Sahmkow | 2020-06-27 | 1 | -1/+7 |
| | |||||
* | ARM: Update Dynarmic and Setup A32 according to latest interface. | Fernando Sahmkow | 2020-06-27 | 1 | -2/+39 |
| | |||||
* | ARMDynarmicInterface: Correct GCC Build Errors. | Fernando Sahmkow | 2020-06-27 | 1 | -3/+3 |
| | |||||
* | Dynarmic Interface: don't clear cache if JIT has not been created. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+3 |
| | |||||
* | General: Cleanup legacy code. | Fernando Sahmkow | 2020-06-27 | 1 | -1/+0 |
| | |||||
* | SingleCore: Use Cycle Timing instead of Host Timing. | Fernando Sahmkow | 2020-06-27 | 1 | -12/+25 |
| | |||||
* | General: Move ARM_Interface into Threads. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+4 |
| | |||||
* | Core: Refactor ARM Interface. | Fernando Sahmkow | 2020-06-27 | 1 | -3/+3 |
| | |||||
* | SVC/ARM: Correct svcSendSyncRequest and cache ticks on arm interface. | Fernando Sahmkow | 2020-06-27 | 1 | -2/+9 |
| | |||||
* | General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running. | Fernando Sahmkow | 2020-06-27 | 1 | -4/+0 |
| | |||||
* | Core: Correct rebase. | Fernando Sahmkow | 2020-06-27 | 1 | -12/+6 |
| | |||||
* | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 2020-06-27 | 1 | -3/+3 |
| | | | | | | | 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. | ||||
* | arm_dynarmic_32: Log under Core_ARM instead of HW_GPU | Morph | 2020-06-22 | 1 | -1/+1 |
| | |||||
* | arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0 | ReinUsesLisp | 2020-06-18 | 1 | -1/+1 |
| | | | | On MSVC builds we treat conversion warnings as errors. | ||||
* | arm_dynarmic_cp15: Update CP15 | MerryMage | 2020-06-17 | 1 | -9/+7 |
| | |||||
* | arm_dynarmic_32: InterpreterFallback should never happen | MerryMage | 2020-06-17 | 1 | -2/+3 |
| | |||||
* | core: kernel: Move SVC to its own namesapce. | bunnei | 2020-04-17 | 1 | -1/+1 |
| | |||||
* | core: Implement separate A32/A64 ARM interfaces. | bunnei | 2020-03-03 | 1 | -0/+208 |