Lioncash
75c3f87d24
arm_dynarmic: Make MakeJit() a const member function
This functions doesn't modify instance state, so it can be a made a
const member function.
8 years ago
Lioncash
78051d5378
exclusive_monitor: Use consistent type alias for u64
Uses the same type aliases we use for virtual addresses, and converts
one lingering usage of std::array<uint64_t, 2> to u128 for consistency.
8 years ago
MerryMage
34bf2dbf68
Implement exclusive monitor
8 years ago
Subv
196a689d20
CPU: Save and restore the TPIDR_EL0 system register on every context switch.
Note that there's currently a dynarmic bug preventing this register from being written.
8 years ago
Lioncash
f4047ccd48
arm_interface: Remove unused tls_address member of ThreadContext
Currently, the TLS address is set within the scheduler, making this
member unused.
8 years ago
MerryMage
bd97579188
scheduler: Clear exclusive state when switching contexts
8 years ago
Hedges
d8d8be6ac0
More improvements to GDBStub ( #653 )
* More improvements to GDBStub
- Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS.
- List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names.
- Initial support for floating point registers.
* Tidy up as requested in PR feedback
* Tidy up as requested in PR feedback
8 years ago
James Rowe
d74d2a77cb
Update clang format
8 years ago
James Rowe
e159c550d8
Rename logging macro back to LOG_*
8 years ago
Hedges
6c4b650ae7
GDB Stub Improvements ( #508 )
* GDB Stub should work now.
* Applied clang-format.
* Replaced htonll with swap64.
* Tidy up.
8 years ago
bunnei
44c565aeca
core: Implement multicore support.
8 years ago
Lioncash
1b310cbb3a
general: Make formatting of logged hex values more straightforward
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
8 years ago
Lioncash
324ee31fc3
general: Convert assertion macros over to be fmt-compatible
8 years ago
Lioncash
0a1e044322
core: Replace remaining old non-generic logger usages with fmt-capable equivalents
LOG_GENERIC usages will be amended in a follow-up to keep API changes separate from
interface changes, as it will require removing a parameter from the relevant function
in the VMManager class.
8 years ago
MerryMage
f8426bcf94
arm_dynarmic: Fix timing
8 years ago
N00byKing
1212e9e231
Clean Warnings (?)
8 years ago
bunnei
256153c50c
arm_interface: Support unmapping previously mapped memory.
8 years ago
bunnei
f16763ed52
core: Move process creation out of global state.
8 years ago
N00byKing
3660aa9318
Implements citra-emu/citra#3184
8 years ago
mailwl
9d6a03e6a3
Stub am::SetScreenShotPermission, and bsd::StartMonitoring functions
8 years ago
MerryMage
2598b3d893
dynarmic: Update to 6b4c6b0
6b4c6b0 impl: Update PC when raising exception
7a1313a A64: Implement FDIV (vector)
b2d781d system: Raise exception for YIELD, WFE, WFI, SEV, SEVL
b277bf5 Correct FPSR and FPCR
7673933 A64: Implement USHL
8d0e558 A64: Implement UCVTF (vector, integer), scalar variant
da9a4f8 A64: Partially implement FCVTZU (scalar, fixed-point) and FCVTZS (scalar, fixed-point)
7479684 A64: Implement system register TPIDR_EL0
0fd75fd A64: Implement system registers FPCR and FPSR
31e370c A64: Implement system register CNTPCT_EL0
9a88fd3 A64: Implement system register CTR_EL0
1d16896 A64: Implement NEG (vector)
3184edf IR: Add IR instruction ZeroVector
31f8fbc emit_x64_floating_point: Add maybe_unused to preprocess parameter
567eb1a A64: Implement FMINNM (scalar)
c6d8fa1 A64: Implement FMAXNM (scalar)
616056d constant_pool: Add frame parameter
a3747cb A64: Implement ADDP (scalar)
5cd5d9f reg_alloc: Only exchange GPRs
dd0452a A64: Implement DUP (element), scalar variant
e5732ea emit_x64_floating_point: Correct FP{Max,Min}{32,64} implementations for -0/+0
40eb9c3 A64: Implement FMAX (scalar), FMIN (scalar)
7cef39b fuzz_with_unicorn: QEMU's implementation of FCVT is incorrect
826dce2 travis: Switch unicorn repository
9605f28 a64/config: Allow NaN emulation accuracy to be set
e9435bc a64_emit_x64: Add conf to A64EmitContext
30b596d fuzz_with_unicorn: Explicitly test floating point instructions
be292a8 A64: Implement FSQRT (scalar)
3c42d48 backend_x64: Accurately handle NaNs
4aefed0 fuzz_with_unicorn: Print AArch64 disassembly
8 years ago
MerryMage
803436b709
arm_dynarmic: LOG_INFO on unicorn fallback
8 years ago
MerryMage
2a0362fe5d
arm_dynarmic: Support direct page table access
8 years ago
MerryMage
9eb03cb8ef
dynarmic: Update to 41ae12263
Changes: Primarily implementing more A64 instructions
8 years ago
River City Ransomware
39827d573a
Fixes some cast warnings, partial port of citra #3064 ( #106 )
* Fixes some cast warnings, partially fixes citra #3064
* Converted casts to uint32_t to u32
* Ran clang-format
8 years ago
MerryMage
41bfd994f6
clang-format
8 years ago
James Rowe
19fe8884ce
Build: Automagically handle unicorn
On MSVC if unicorn isn't found, fallback to bundled unicorn
On everything else, fallback to building unicorn in externals
Also fixes loading unicorn in msvc
8 years ago
James Rowe
84a702e6c3
Build: Add unicorn as a submodule and build it if needed
Adds a cmake custom target that will build unicorn on first compile and
uses this in the build scripts as well. Updates Appveyor and Travis
build scripts to work with the new unicorn build, and updates the paths
to all of the different artifacts.
8 years ago
MerryMage
d3b17a5e9b
Update dynarmic to bc73004
bc73004 a64_merge_interpret_blocks: Remove debug output
4e656ed tests/A64: Randomize PSTATE.<NZCV>
fd9530b A64: Optimization: Merge interpret blocks
3c9eb04 testenv: Use format constants
324f3fc tests/A64: Unicorn interface fixes
98ecbe7 tests/A64: Fuzz against unicorn
b1d38e7 tests/A64: Move TestEnvironment to own header
5218ad9 A64/data_processing_pcrel: bug: ADR{,P} instructions sign extend their immediate
b1a8c39 A64/data_processing_addsub: bug: {ADD,SUB}S (extended register) instructions write to ZR when d = 31
64827fb a64_emit_x64: bug: A64CallSupervisor trampled callee-save registers
1bfa04d emit_x64: bug: OP m/r64, imm32 form instructions sign-extend their immediate on x64
edadeea A64 inferface: Use two argument static_assert
9ab1304 A64: Add ExceptionRaised IR instruction
6843eed Update readme
7438d07 A64/translate: Add TranslateSingleInstruction function
8 years ago
bunnei
ed9ffbaf28
arm_unicorn: Log unmapped memory access address.
8 years ago
bunnei
182548ec86
yuzu: Update license text to be consistent across project.
8 years ago
MerryMage
ced9768819
arm_dynarmic: Implement core
8 years ago
bunnei
08991b82fe
arm_unicorn: Load/release unicorn DLL.
8 years ago
bunnei
3ff86cab2e
unicorn: Use for arm interface on Windows.
8 years ago
bunnei
c3ee3f9d76
arm_dynarmic: More cleanup.
8 years ago
bunnei
20165180ea
arm_dynarmic: Gut interface until dynarmic is ready for general use.
8 years ago
bunnei
b055ea2699
arm: Remove SkyEye/Dyncom code that is ARMv6-only.
8 years ago
bunnei
9651b2db3a
logging: Rename category "Core_ARM11" to "Core_ARM".
8 years ago
bunnei
47d0206ac7
arm_interface: Set TLS address for dynarmic core.
8 years ago
bunnei
7f1ce2cf68
arm: Use 64-bit addressing in a bunch of places.
8 years ago
Huw Pascoe
ed9e0618c9
Moved down_count to CoreTiming
8 years ago
MerryMage
0e49bffe03
ARM_Interface: Implement PageTableChanged
8 years ago
Subv
85f1a05d7e
CPU/Dynarmic: Disable the fast page-table access in dynarmic until it supports switching page tables at runtime.
9 years ago
Subv
690eed4d9e
CPU/Dynarmic: Fixed a warning when incrementing the number of ticks in ExecuteInstructions.
8 years ago
Subv
015a96a59b
Dyncom: Use size_t instead of int to store the instruction offsets in the instruction cache.
Fixes a few warnings.
8 years ago
Subv
b2d8872e56
Dyncom: Fixed a conversion warning when decoding thumb instructions.
8 years ago
Subv
c67cd54049
fixup! Dyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled.
9 years ago
Subv
8533b511e8
Dyncom/VFP: Perform flush-to-zero on the second operand of vsub before sending it to vadd.
Previously we were letting vadd flush the value to positive 0, but there are cases where this behavior is wrong, for example,
vsub: -0 - +0 = -0
vadd: -0 + +0 = +0
Now we'll flush the value to +0 inside vsub, and then negate it.
9 years ago
Subv
338eb4204e
Dyncom/VFP: Strip the VFP_NAN_FLAG sentinel value when setting vfp exceptions.
9 years ago
Subv
55a42d3764
Revert "Remove `exceptions` parameter from `normaliseround` VFP functions"
This reverts commit 7d2670f08e .
Conflicts:
src/core/arm/skyeye_common/vfp/vfp_helper.h
src/core/arm/skyeye_common/vfp/vfpdouble.cpp
src/core/arm/skyeye_common/vfp/vfpsingle.cpp
9 years ago