fadd

SVE Floating-Point Add

FADD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T>

Adds floating-point elements under predicate.

Details

The SVE Floating-Point Add instruction adds floating-point elements under predicate.

Pseudocode Operation

Zdn ← Pg + Zm
// Flags affected: N, Z, C, V

Example

FADD z0.s.T, p0/m/M, z0.s.T, z2.s.T

Encoding

Binary Layout
01100101
00
0
00000
Pg
Zm
Zdn
 
Format SVE FP Binary
Opcode 0x65000000
Extension SVE

Operands

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