2357 Commits

Author SHA1 Message Date
SachinVin
4606179019
Merge pull request #6 from GPUCode/citra_merged
Update fmt to 9.1.0
2022-08-29 11:40:54 +05:30
emufan4568
72ceebe331 a64_emitter: Use fmt::ptr to format pointers 2022-08-29 08:40:37 +03:00
emufan4568
8949b027e9 externals: Update fmt submodule to 9.1.0 2022-08-28 20:12:57 +03:00
emufan4568
9bfa3c407c Revert "emit_x64_vector_floating_point: Implement workaround for issue 678"
* The regression has been fixed in newer versions of MSVC

This reverts commit 9f88f234a180a5e8d5620b4803c971fb6dc2d9f2.
2022-08-28 20:08:37 +03:00
emufan4568
811b07b78c cmake: Increase stack depth for newer versions of clang
* See https://github.com/citra-emu/citra/issues/6088
2022-08-28 20:06:50 +03:00
Merry
153e10cad3 Update for fmt 9.0.0 2022-08-28 19:17:05 +03:00
SachinVin
9f88f234a1 emit_x64_vector_floating_point: Implement workaround for issue 678 2022-07-03 13:33:40 +05:30
Marshall Mohror
af0d4a7c18 backend/A64: Fix signal_stack_size for glibc 2.34
`SIGSTKSZ` is now defined as `sysconf(_SC_SIGSTKSZ)` which is not constexpr, and returns a long which throws off the `std::max` template deduction.
2021-10-22 23:28:58 +05:30
SachinVin
edb00b680d
Merge pull request #5 from Idesmi/citra_merged
Fix `signal_stack_size` for glibc 2.34
2021-10-21 22:29:39 +05:30
Marshall Mohror
b0200a0485 Fix signal_stack_size for glibc 2.34
`SIGSTKSZ` is now defined as `sysconf(_SC_SIGSTKSZ)` which is not constexpr, and returns a long which throws off the `std::max` template deduction.

Signed-off-by: Enrico Belleri <idesmi@protonmail.com>
2021-10-21 18:32:36 +02:00
SachinVin
71e3553d78
Merge pull request #3 from jrtc27/a32-apple-silicon
Fix A32-on-A64 for Apple Silicon
2021-07-10 09:38:20 +05:30
Jessica Clarke
bef990b74e Fix A32-on-A64 for Apple Silicon
Unpatch is called from InvalidateBasicBlocks, which has temporarily
enabled writing, and thus disabled execution. However, the fast dispatch
lookup code is dynamically generated just like the rest of the JITed
output and so also is currently not executable. Thus we must temporarily
disable writing, and thus re-enable execution, whilst we run the lookup
function, otherwise we will fault on jumping to it.
2021-05-13 02:33:10 +01:00
SachinVin
707ae88153 backend\A64\a32_emit_a64.cpp: work around implicit lambda capture 2021-05-08 00:08:02 +05:30
SachinVin
722600e4f2 backend\A64\block_of_code.cpp: add [[maybe_unused]] for parameter in ProtectMemory for arm64 macs 2021-05-08 00:08:02 +05:30
SachinVin
581f50a903 Migrate to github actions 2021-05-08 00:08:01 +05:30
SachinVin
a0d50b138e
Merge pull request #2 from vitor-k/citra-m1
Attempt to implement changes necessary for JIT on Apple Silicon
2021-05-05 21:07:49 +05:30
Vitor Kiguchi
2b3be5eee8 enable DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT by default on apple silicon 2021-05-04 13:01:19 -03:00
Vitor Kiguchi
94d1f7c01a Simplify apple silicon changes 2021-05-04 03:23:50 -03:00
Vitor Kiguchi
ad315fd20d Attempt to implement changes necessary for JIT on Apple Silicon
as described on https://developer.apple.com/documentation/apple-silicon/porting-just-in-time-compilers-to-apple-silicon
2021-04-28 14:58:24 -03:00
SachinVin
8856604383 test_arm_instructions.cpp: Fix missing } 2021-04-10 15:53:02 +05:30
SachinVin
358cf6f035
Merge pull request #1 from vitor-k/citra-m1
fix compilation targeting arm64 macos
2021-03-30 11:17:13 +05:30
Vitor Kiguchi
883c8fc2ca fix m1 compilation 2021-03-24 02:02:51 -03:00
xperia64
f9d84871fb Add AArch64 fixups 2020-11-22 20:36:19 -05:00
SachinVin
232c2588ab backend\A64\exception_handler_posix.cpp: remove unused header 2020-11-22 17:31:39 -05:00
SachinVin
9da8190874 backend\A64\exception_handler_posix.cpp: Fix typo in FindCodeBlockInfo 2020-11-22 17:31:39 -05:00
SachinVin
6fbe3bd275 tests/A32: remove unused function 2020-11-22 17:31:39 -05:00
SachinVin
b90d1921fa backend/A64:port single stepping fix 2020-11-22 17:31:39 -05:00
SachinVin
50782502a6 travis : a64: remove docker; dont fuzz against unicorn 2020-11-22 17:31:39 -05:00
SachinVin
06d3b35549 backend/A64: Use ASSERT_FALSE where possible 2020-11-22 17:31:39 -05:00
SachinVin
43bd471949 backend\A64\block_of_code.cpp: Remove stray semicolon 2020-11-22 17:31:39 -05:00
SachinVin
5613c1a042 backend\A64\reg_alloc.cpp: Fix assert 2020-11-22 17:31:39 -05:00
SachinVin
38556d1bf2 CmakeLists: DYNARMIC_FRONTENDS optin for A64 backend 2020-11-22 17:31:39 -05:00
SachinVin
3113b830c1 frontend/A32: remove decoder hack vfp instructions 2020-11-22 17:31:39 -05:00
SachinVin
54113d4546 a64_emiter: CountLeadingZeros intrinsic shortcuts 2020-11-22 17:31:39 -05:00
BreadFish64
cbfbb0ef8b emit_a64: get rid of useless NOP generation
We don't actually patch anything in those locations beside a jump.
2020-11-22 17:31:39 -05:00
SachinVin
f42cba71bb emit_a64: Do not clear fast_dispatch_table unnecessarily
port 4305c74 - emit_x64: Do not clear fast_dispatch_table unnecessarily
2020-11-22 17:31:39 -05:00
SachinVin
e5ba462a5d backend/A64/block_of_code.cpp: Clean up C style casts 2020-11-22 17:31:39 -05:00
SachinVin
30f5d5d354 backend/A64/a32_emit_a64.cpp: EmitA32{Get,Set}Fpscr, set the guest_fpcr to host fpcr 2020-11-22 17:31:39 -05:00
SachinVin
36c28648d7 backend/A64: Add Step 2020-11-22 17:31:39 -05:00
SachinVin
f9c841b66d backend/A64/block_of_code: Always specify codeptr to run from 2020-11-22 17:31:39 -05:00
BreadFish64
af010996a5 backend/A64: fix mp 2020-11-22 17:31:39 -05:00
SachinVin
d472e5ba61 backend/A64: Move SP to FP in GenMemoryAccessors + Minor cleanup and 2020-11-22 17:31:39 -05:00
SachinVin
8e1f543bfb backend/A64: Use X26 for storing remaining cycles. 2020-11-22 17:31:39 -05:00
BreadFish64
ec293f447b backend/A64: add fastmem support
fix crash on game close

fix generic exception handler

reorder hostloc gpr list

use temp register instead of X0 for writes

go back to regular std::partition
2020-11-22 17:31:39 -05:00
BreadFish64
0aa938209c merge fastmem 2020-11-22 17:31:39 -05:00
SachinVin
1234add918 backend\A64\constant_pool.cpp: Correct offset calculation 2020-11-22 17:31:39 -05:00
SachinVin
b4239a6a06 backend/A64/a32_jitstate: Upstream changes from x64 backend 2020-11-22 17:31:38 -05:00
SachinVin
85b607bdaa backend/A64: Add test for q flag being incorrectly set 2020-11-22 17:31:38 -05:00
SachinVin
35e40cb1a9 backend/A64/a32_emit_a64.cpp: Use unused HostCall registers 2020-11-22 17:30:50 -05:00
SachinVin
45b8f69855 backend/A64/a32_emit_a64.cpp: Use MOVP2R instead of MOVI2R. 2020-11-22 17:30:50 -05:00