XAFLAG

Convert floating-point condition flags from external format to Arm format. This instruction converts the state of the PSTATE.{N,Z,C,V} flags from an alternative representation required by some software to a form representing the result of an Arm floating-point scalar compare instruction.

System
(FEAT_FlagM2)

313029282726252423222120191817161514131211109876543210
11010101000000000100(0)(0)(0)(0)00111111
CRm

XAFLAG

if !HaveFlagFormatExt() then UNDEFINED;

Operation

bit N = NOT(PSTATE.C) AND NOT(PSTATE.Z); bit Z = PSTATE.Z AND PSTATE.C; bit C = PSTATE.C OR PSTATE.Z; bit V = NOT(PSTATE.C) AND PSTATE.Z; PSTATE.N = N; PSTATE.Z = Z; PSTATE.C = C; PSTATE.V = V;


Internal version only: isa v33.11seprel, AdvSIMD v29.05, pseudocode v2021-09_rel, sve v2021-09_rc3d ; Build timestamp: 2021-10-06T11:41

Copyright © 2010-2021 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.