vpaire.vv

Vector pair even

This instruction is defined by:

Encoding

svg

Synopsis

Interleaves the even-indexed elements of two source vector register groups into the destination. All operands have EMUL=LMUL. For destination element index i, vd[i] = vs2[i] if i is even and vd[i] = vs1[i-1] if i is odd, producing vd = [vs2[0], vs1[0], vs2[2], vs1[2], …​].

Masking, prestart, body, and tail element handling follow the base specification, applied to the destination element indices.

The destination vector register group cannot overlap either source vector register group; an overlapping encoding raises an illegal-instruction exception.

Access

M HS U VS VU

Always

Always

Always

Always

Always

Decode Variables

Bits<1> vm = $encoding[25];
Bits<5> vs2 = $encoding[24:20];
Bits<5> vs1 = $encoding[19:15];
Bits<5> vd = $encoding[11:7];

Execution

  • Pruned, XLEN == 64

  • Original