fabs

Floating-Point Absolute Value (Scalar)

FABS <Hd|Sd|Dd>, <Hn|Sn|Dn>

Calculates the absolute value of a float.

Details

The Floating-Point Absolute Value instruction calculates the absolute value of a float.

Pseudocode Operation

Vd ← |Vn|

Example

FABS Dd, Dn

Encoding

Binary Layout
00011110
type
100000
100000
Rn
Rd
 
Format FP Data Processing
Opcode 0x1E20C000
Extension Floating Point

Operands

  • Vd
    Destination SIMD/FP vector register
  • Vn
    First source SIMD/FP vector register