lastb

SVE Extract Last Element Before

LASTB <Vd>.<T>, <Pg>, <Zn>.<T>

Extracts last active element (SIMD scalar destination).

Details

The SVE Extract Last Element Before instruction extracts last active element (SIMD scalar destination).

Pseudocode Operation

// Extracts last active element (SIMD scalar destination)

Example

LASTB v0.4s.T, p0/m, z1.s.T

Encoding

Binary Layout
00000101
sz
10000
1
Pg
Zn
Vd
 
Format SVE Extract
Opcode 0x05808000
Extension SVE

Operands

  • Vd
    Dest Scalar
  • Pg
    Predicate
  • Zn
    Vector