fabs

Vector Floating-Point Absolute Value

FABS <Vd>.<T>, <Vn>.<T>

Calculates absolute value for each element.

Details

The Vector Floating-Point Absolute Value instruction calculates absolute value for each element.

Pseudocode Operation

Vd ← |Vn|

Example

FABS v0.4s.T, v1.4s.T

Encoding

Binary Layout
0
Q
001110
1
sz
10000
01111
1
Rn
Rd
 
Format SIMD Two Register
Opcode 0x0EA0F800
Extension NEON (SIMD)

Operands

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