aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/A32
diff options
context:
space:
mode:
Diffstat (limited to 'tests/A32')
-rw-r--r--tests/A32/fuzz_thumb.cpp14
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);