Branches, exception generating and system instructions
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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
| CRm | |||||||||||||||||||||||||||||||
11010101000000000100000000111111
if not_bool(HaveFlagFormatExt()) then {
throw(Error_Undefined())
};
execute_aarch64_instrs_integer_flags_xaflag()
let n : bits(1) = not_vec(PSTATE.C) & not_vec(PSTATE.Z); let z : bits(1) = PSTATE.Z & PSTATE.C; let c : bits(1) = PSTATE.C | PSTATE.Z; let v : bits(1) = not_vec(PSTATE.C) & PSTATE.Z; 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.