fixed bit field field the encoding fixes should be
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| 1 | 1 | 1 | 0 | 1 | 0 | ||||||||||
11101xxxxxxxxxx0
ArchVersion() < 7
ScarletNX's fixup
if ConditionPassed() then {
let target : bits(32) = R_read(14) + ZeroExtend(offset @ 0b0, 32);
R_set(14) = (PC_read__1() - 2)[31 .. 1] @ 0b1;
PSTATE.T = 0b0;
BranchTo(target[31 .. 2] @ 0b00, BranchType_DIRCALL, false)
};
()
Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.