abs

Vector Absolute Value

ABS <Vd>.<T>, <Vn>.<T>

Calculates absolute value of integer elements.

Details

The Vector Absolute Value instruction calculates absolute value of integer elements.

Pseudocode Operation

Vd ← |Vn|

Example

ABS v0.4s.T, v1.4s.T

Encoding

Binary Layout
0
Q
001110
size
10000
01011
1
Rn
Rd
 
Format SIMD Two Register
Opcode 0x0E20B800
Extension NEON (SIMD)

Operands

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