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
(Armv8.5)

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

System

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 v30.3, AdvSIMD v27.04, pseudocode v85-xml-00bet9_rc1_1, sve v8.5-00bet9_rc1 ; Build timestamp: 2018-12-12T11:50

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