A32: Implement Thumb-1's CBZ/CBNZ instructions

Introduced in ARMv6T2, this allows for short forward branches.
This commit is contained in:
Lioncash 2019-05-03 18:17:08 -04:00 committed by MerryMage
parent bd755ae494
commit 03e6899fd7
4 changed files with 32 additions and 0 deletions

View file

@ -291,6 +291,7 @@ TEST_CASE("Fuzz Thumb instructions set 2 (affects PC)", "[JitX64][Thumb]") {
const u32 c = Dynarmic::Common::Bits<9, 12>(inst);
return c < 0b1110; // Don't want SWI or undefined instructions.
}),
ThumbInstGen("1011o0i1iiiiinnn"), // CBZ/CBNZ
ThumbInstGen("10110110011x0xxx"), // CPS
// TODO: We currently have no control over the generated