Branches, exception generating and system instructions / Data processing (register)
fixed bit field field the encoding fixes should be
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | D | 1 | 1 | 1 | 1 | 1 | Rd | ||||
| Rn | |||||||||||||||||||||||||||||||
110110101100000101000x11111xxxxx
let data : bool = D == 0b1;
let 'd = UInt(Rd);
let 'n = UInt(Rn);
if not_bool(HavePACExt()) then {
throw(Error_Undefined())
};
if n != 31 then {
throw(Error_Undefined())
};
execute_aarch64_instrs_integer_pac_strip_dp_1src(d, data)
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| 1 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
11010101000000110010000011111111
let 'd = 30; let data : bool = false; execute_aarch64_instrs_integer_pac_strip_dp_1src(d, data)
if HavePACExt() then {
X_set(d, 64) = Strip(X_read(d, 64), data)
};
()
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.