diff options
author | Lioncash <[email protected]> | 2021-02-01 15:39:15 -0500 |
---|---|---|
committer | Lioncash <[email protected]> | 2021-02-01 15:39:39 -0500 |
commit | 65365ad2a3686db731a8bca706053841b92c8164 (patch) | |
tree | aecce448c87921375447c1bf1ac848951f76f19c /tests/A32 | |
parent | d96c8c662b1d63bc8976abacb2f83ffc9e140d86 (diff) | |
download | dynarmic-65365ad2a3686db731a8bca706053841b92c8164.tar.gz dynarmic-65365ad2a3686db731a8bca706053841b92c8164.zip |
thumb32: Implement QDADD
Diffstat (limited to 'tests/A32')
-rw-r--r-- | tests/A32/fuzz_thumb.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/A32/fuzz_thumb.cpp b/tests/A32/fuzz_thumb.cpp index e6b4dbd3..90a57507 100644 --- a/tests/A32/fuzz_thumb.cpp +++ b/tests/A32/fuzz_thumb.cpp @@ -369,6 +369,20 @@ TEST_CASE("Fuzz Thumb32 instructions set", "[JitX64][Thumb][Thumb32]") { const auto n = Common::Bits<16, 19>(inst); return m == n && d != 15 && m != 15; }), + ThumbInstGen("111110101000nnnn1111dddd1001mmmm", // QDADD + [](u32 inst) { + const auto d = Common::Bits<8, 11>(inst); + const auto m = Common::Bits<0, 3>(inst); + const auto n = Common::Bits<16, 19>(inst); + return d != 15 && m != 15 && n != 15; + }), + ThumbInstGen("111110101000nnnn1111dddd1011mmmm", // QDSUB + [](u32 inst) { + const auto d = Common::Bits<8, 11>(inst); + const auto m = Common::Bits<0, 3>(inst); + const auto n = Common::Bits<16, 19>(inst); + return d != 15 && m != 15 && n != 15; + }), ThumbInstGen("111110101001nnnn1111dddd1010mmmm", // RBIT [](u32 inst) { const auto d = Common::Bits<8, 11>(inst); |