Floating-Point Pseudo-Operations

Operation

Mnemonic(s)

Operation Used

Floating-point multiplication (IEEE)

fmpy.pc.sf

fma using FR 0 for addend

Parallel FP multiplication

fpmpy.sf

fpma using FR 0 for addend

Floating-point negate multiplication (IEEE)

fnmpy.pc.sf

fnma using FR 0 for addend

Parallel FP negate multiplication

fpnmpy.sf

fpnma using FR 0 for addend

Floating-point addition (IEEE)

fadd.pc.sf

fma using FR 1 for multiplicand

Floating-point subtraction (IEEE)

fsub.pc.sf

fms using FR 1 for multiplicand

Floating-point negation (IEEE)

fnma.pc.sf

fnma using FR 1 for multiplicand and FR 0 for addend

Floating-point absolute value

fabs

fmerge.s with sign from FR 0

Parallel FP absolute value

fpabs

fpmerge.s with sign from FR 0

Floating-point negate

fneg

fmerge.ns

Parallel FP negate

fpneg

fpmerge.ns

Floating-point negate absolute value

fnegabs

fmerge.ns with sign from FR 0

Parallel FP negate absolute value

fpnegabs

fpmerge.ns with sign from FR 0

Floating-point normalization

fnorm.pc.sf

fma using FR 1 for multiplicand and FR 0 for addend

Convert unsigned integer to floating-point

fcvt.xuf.pc.sf

fma using FR 1 for multiplicand and FR 0 for addend