AXFLAG

Branches, exception generating and system instructions

fixed bit field field the encoding fixes should be

Integer flags axflag

313029282726252423222120191817161514131211109876543210
11010101000000000100000001011111
CRm

11010101000000000100000001011111

Decode Sail

if not_bool(HaveFlagFormatExt()) then {
    throw(Error_Undefined())
};
execute_aarch64_instrs_integer_flags_axflag()

Operation Sail

let n : bits(1) = 0b0;
let z : bits(1) = PSTATE.Z | PSTATE.V;
let c : bits(1) = PSTATE.C & not_vec(PSTATE.V);
let v : bits(1) = 0b0;
PSTATE.N = n;
PSTATE.Z = z;
PSTATE.C = c;
PSTATE.V = v

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.