Floating-point Class Instructionfclass
Instruction Type F
Format
(qp) fclass.fcrel.fctype p1, p2 = f2, fclass9
Description
The contents of f2 are classified according to the fclass9 completer. This produces a boolean result based on whether the contents of FR f2 agrees with the floating-point number format specified by fclass9, as specified by the fcrel completer. This result is written to the two predicate register destinations, p1 and p2. The result written to the destinations is determined by the compare type specified by fctype.
The allowed compare types are Normal (or none) and unc. The assembly syntax allows the specification of membership or non-membership and the assembler swaps the target predicates to achieve the desired effect.
A number agrees with the pattern specified by fclass9 if:
the number is NaTVal and fclass9 {8} is 1, or
the number is a quiet NaN and fclass9 {7} is 1, or
the number is a signalling NaN and fclass9 {6} is 1, or
the sign of the number agrees with the sign specified by one of the two low-order bits of fclass9, and the type of the number (disregarding the sign) agrees with the number-type specified by the next 4 bits of fclass9.
Note: A fclass9 of 0x1FF is equivalent to testing for any supported operand.
fabs - Floating-point Absolute Value Instruction
fadd - Floating-point Add Instruction
famax - Floating-point Absolute Maximum Instruction
famin - Floating-point Absolute Minimum Instruction
fchkf - Floating-point Check Flags Instruction
fclrf - Floating-point Clear Flags Instruction
fcmp - Floating-point Compare Instruction
fcvt.xf - Convert Signed Integer to Floating-point Instruction
fcvt.xuf - Convert Unsigned Integer to Floating-point Instruction
Floating-Point Arithmetic Instructions
Floating-Point Memory Access Instructions
Floating-Point Non-Arithmetic Instructions
Floating-Point Pseudo-Operations
Floating-Point Register Transfer Instructions
Floating-Point Status Register (FPSR) Status Field Instructions
fma - Floating-point Multiply Add Instruction
fmax - Floating-point Maximum Instruction
fmerge - Floating-point Merge Instruction
fmin - Floating-point Minimum Instruction
fmix - Floating-point Mix Instruction
fmpy - Floating-point Multiply Instruction
fms - Floating-point Multiply Subtract Instruction
fneg - Floating-point Negate Instruction
fnegabs - Floating-point Negate Absolute Value Instruction
fnma - Floating-point Negative Multiply Add Instruction
fnmpy - Floating-point Negative Multiply Instruction
fnorm - Floating-point Normalize Instruction
for - Floating-point OR Instruction
fpabs - Floating-point Parallel Absolute Value Instruction
fpack - Floating-point Pack Instruction
fpamax - Floating-point Parallel Absolute Value Maximum Instruction
fpamin - Floating-point Parallel Absolute Value Minimum Instruction
fpcmp - Floating-point Parallel Compare Instruction
fpcvt.fx - Convert Parallel Floating-point to Integer Instruction
fpma - Floating-point Parallel Multiply Add Instruction
fpmax - Floating-point Parallel Maximum Instruction
fpmerge - Floating-point Parallel Merge Instructions
fpmin - Floating-point Parallel Minimum Instruction
fpmpy - Floating-point Parallel Multiply Instruction
fpms - Floating-point Parallel Multiply Subtract Instruction
fpneg - Floating-point Parallel Negate Instruction
fpnegabs - Floating-point Parallel Negate Absolute Value Instruction
fpnma - Floating-point Parallel Negative Multiply Add Instruction
fpnmpy - Floating-point Parallel Negative Multiply Instruction
fprcpa - Floating-point Parallel Reciprocal Approximation Instruction
fprsqrta - Floating-point Parallel Reciprocal Square Root Approximation Instruction
frcpa - Floating-point Reciprocal Approximation Instruction
frsqrta - Floating-point Reciprocal Square Root Approximation Instruction
fselect - Floating-point Select Instruction
fsetc - Floating-point Set Controls Instruction
fsub - Floating-point Subtract Instruction
fswap - Floating-point Swap Instruction
fsxt - Floating-point Sign Extend Instruction
fwb - Flush Write Buffers Instruction
fxor - Floating-point Exclusive Or Instruction
getf - Get Floating-point Value or Exponent or Significand Instruction
Integer Multiply and Add (in FP Unit) Instructions
ldf - Floating-point Load Instruction
ldfp - Floating-point Load Pair Instruction
mov fr - Move Floating-point Register Instruction
psad1 - Parallel Sum of Absolute Difference Instruction
setf - Set Floating-point Value, Exponent, or Significand Instruction