71 Commits
Author SHA1 Message Date
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
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
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 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 31a684361f tests: Update to Catch2 v3 2022-12-31 17:28:34 +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
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
Merry 6bcc424e1a emit_x64_vector: Ensure FPSR.QC is set even if output is invalidated 2022-07-20 19:44:39 +01:00