fabs

SVE Floating-Point Absolute Value

FABS <Zdn>.<T>, <Pg>/M, <Zdn>.<T>

Calculates absolute value of floats.

Details

The SVE Floating-Point Absolute Value instruction calculates absolute value of floats.

Pseudocode Operation

Zdn ← |Pg|

Example

FABS z0.s.T, p0/m/M, z0.s.T

Encoding

Binary Layout
01100101
sz
001000
Pg
Zdn
Zdn
 
Format SVE FP Unary
Opcode 0x65280000
Extension SVE

Operands

  • Zdn
    Combined destination/source scalable vector register (SVE)
  • Pg
    Mask