XPAC

Branches, exception generating and system instructions / Data processing (register)

fixed bit field field the encoding fixes should be

Integer PAC strip data processing 1 source

313029282726252423222120191817161514131211109876543210
110110101100000101000D11111Rd
Rn

110110101100000101000x11111xxxxx

Decode Sail

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)

Integer PAC strip hint

313029282726252423222120191817161514131211109876543210
11010101000000110010000011111111

11010101000000110010000011111111

Decode Sail

let 'd = 30;
let data : bool = false;
execute_aarch64_instrs_integer_pac_strip_dp_1src(d, data)

Operation Sail

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.