Commit graph

481 commits

Author SHA1 Message Date
Yang Liu d743fe8a2a backend/rv64: Add a dummy code generation 2024-03-02 19:38:46 +00:00
Ash 732a657694 Change Config to make fastmem_pointer of zero valid.
This changes Dynarmic::A32/A64::Config to store fastmem_pointer in
a std::optional<uintptr_t>, allowing the user to pass a zero base
address for the guest memory, which can be used to effectively
implement a shared address space between the host and the guest.
2024-03-02 16:31:20 +00:00
zmt00 043f21df7d tests/A64: Update {S,U}SHL tests
Converted tests to use oaknut, and added some extra test cases. SSHL's
additional tests are targetd to make sure that the sign of the lowest
byte is used to determine shift direction, not the entire element. USHL
targets this as well as just having more negative (right shift) cases in
general.
2024-02-24 17:08:27 +00:00
zmt00 ef4f79811b tests/A64: Add URSHL tests 2024-02-20 14:16:15 +00:00
zmt00 60a6092b65 tests/A64: Add non-paired min/max integer tests 2024-02-17 13:17:01 +00:00
zmt00 cc9f00645d tests/A64: Add SQABS tests 2024-02-13 18:46:42 +00:00
Wunkolo 6d0995c948 tests/A64: Add negative-shift elements to USHL 2024-02-10 11:38:17 +00:00
zmt00 f5df599e9d tests/A64: Convert recent tests to oaknut 2024-02-10 11:32:07 +00:00
zmt00 0785a6d027 ir: Implement FPMulSub 2024-02-10 11:31:54 +00:00
Wunkolo a32e6f52ef tests/A64: Use oaknut for CLZ assembly 2024-02-06 18:15:34 +00:00
Wunkolo 1e5e7a7ae6 tests/A64: Add CLZ vector unit-tests 2024-02-06 18:15:34 +00:00
zmt00 46a99991e2 tests/A64: Add {U,S}MINP.B, {U,S}MAXP.B tests 2024-01-28 18:56:42 +00:00
Merry bbc058c76b backend/arm64: Update for oaknut 2.0.0.
Also respect DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT.
2024-01-28 16:19:33 +00:00
zmt00 7e66e082fd tests/A64: Add SABD tests 2024-01-23 18:28:19 +00:00
zmt00 77f1f0376f tests/A64: Add {U,S}MINP.H, {U,S}MAXP.H tests 2024-01-10 12:23:28 +00:00
zmt00 bd841cfd3e tests/A64: Add {U,S}MINP.S, {U,S}MAXP.S tests 2024-01-02 19:04:02 +00:00
zmt00 521bf64ef2 tests/A64: Add remaining UZP unit tests.
Additionally changed the numeric values of the test vectors in the
32-bit element tests to match the pattern of the other tests - this
makes it easier to tell at a glance what elements are out of place if a
test fails.
2023-12-17 21:56:55 +00:00
zmt00 7ef11ee311 tests/A64: Add VUZP{1,2}.H unit tests 2023-12-11 13:18:19 +00:00
zmt00 d68b916f57 tests/A64: Add VUZP{1,2}.S unit tests 2023-12-02 20:33:45 +00:00
Merry 5acf5614be tests: fibonacci example 2023-03-31 10:29:31 +01:00
Wunkolo 87a312b446 tests/A32: Add tbl/tbx instruction unit tests 2023-02-21 21:56:18 +00:00
Merry 7d3b4f913b a32_get_set_elimination_pass: Fix bugs in A32 get/set algorithm 2023-02-05 17:19:08 +00:00
Merry d796d8e93d reg_alloc: Fix cast-qual issue 2023-02-04 11:30:01 +00:00
Merry 9364ba821e tests: Support noopt mode 2023-02-03 22:16:29 +00:00
Merry 2a87337141 test_reader: Add A32 modes 2023-01-20 11:50:41 +00:00
Merry f0ebdf278c backend/x64: Improve verbose debugging output 2023-01-20 11:47:49 +00:00
Merry ffc3dce9b1 tests: Add verbose debugging output and test_reader 2023-01-16 00:42:18 +00:00
Merry 4f3ef50d5c fp: Fix FPToFixed for borderline values 2023-01-15 23:59:27 +00:00
Merry 71b687e549 test_generator: Fake task port no longer required
We are now using mach ports for fastmem on arm64.
2023-01-15 03:34:15 +00:00
Merry 0fd9d781b5 tests: Ensure issue #727 resolved 2023-01-15 03:01:49 +00:00
Merry 2d1edf1c80 emit_x64_floating_point: Fix register allocation bug in FPTwoOp
Erroneous use of ScratchXmm in conditional path
2023-01-15 02:29:08 +00:00
Merry 6b41b5be07 CMakeLists: Support multi-architecture builds 2023-01-06 14:27:06 +00:00
Alexandre Bouvier 46e5f4ee97 cmake: use ctest module 2023-01-06 10:40:03 +00:00
Merry 63ebed5760 x64_cpu_info: Add required C headers 2022-12-31 17:59:12 +00:00
Merry 31a684361f tests: Update to Catch2 v3 2022-12-31 17:28:34 +00:00
Merry c3312a1497 test_generator: Assist with debugging fastmem on arm64 macOS 2022-12-31 14:56:51 +00:00
Merry cd2bee17f2 tests/A32: Add a SVC call test 2022-12-29 20:20:26 +00:00
merry c63c134582 tests/fp_min_max: Test FPCR.FZ 2022-12-29 19:38:45 +00:00
Merry 0869c26b4f tests/fp_min_max: Add a few more test cases 2022-12-29 19:09:06 +00:00
Merry c804b3980d tests: Add FMAX/FMIN/FMAXNM/FMINNM tests 2022-12-29 19:08:45 +00:00
merry f69ae1c672 tests: dynarmic_test_generator also depends on A64 frontend 2022-12-06 14:50:37 +00:00
Merry 3d6faf403b test_generator: Minor fixups 2022-12-03 11:16:26 -05:00
Merry 890deb17ce test_generator: Expose interface 2022-12-03 11:16:26 -05:00
Merry e74e03010b [TEST] test_generator: Test A64 2022-12-03 11:16:26 -05:00
Merry 01a9a12c84 test_generator: Filter out for unimplemented IR instructions 2022-12-03 11:16:26 -05:00
Merry 46aef36a4f test_generator: A64 2022-12-03 11:16:26 -05:00
Liam 21b4211414 Add test for isolated GetNZCVFromOp 2022-12-03 11:16:26 -05:00
Liam 16101049f3 Fix EXTR (flipped rgister order) 2022-12-03 11:16:26 -05:00
Merry 038b728797 emit_x64_data_processing: Detect overflow on division 2022-11-29 14:15:12 +00:00
Alexandre Bouvier 905d822810 cmake: multiple simplifications 2022-11-26 15:52:30 +00:00