ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

V_PERMLANE16_SWAP_B32

T1 amd-gpu simd insn
AMD GPU V_PERMLANE16_SWAP_B32 (ENC_VOP1, ENC_VOP3)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeCDNA4, CDNA5
AMD RDNA1/2/3/3.5/4 & CDNA1/2/3/4 GPUs
License & VersionAMD GPUOpen / MIT (isa_spec_manager)
2026-official
Upstreamhttps://gpuopen.com/machine-readable-isa/
Privilegeuser
ExtensionsCDNA4, CDNA5, VALU

Summary

Swap data between two vector registers. Odd rows of the first operand are swapped with even rows of the second operand (one row is 16 lanes).

Syntax / Encoding

V_PERMLANE16_SWAP_B32 VDST, SRC0 | ENC_VOP1 op=89 [CDNA4]; ENC_VOP3 op=409 [CDNA4]; ENC_VOP1 op=73 [CDNA5]

Binary Encodings (4)

WidthFormatBit PatternMask / Match
32ENC_VOP10111111xxxxxxxx01011001xxxxxxxxx0xfe01fe00 / 0x7e00b200
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101000110011001xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d1990000
32ENC_VOP10111111xxxxxxxxx1001001xxxxxxxxx0xfe00fe00 / 0x7e009200
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010111001001xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d5c90000

Operands

NameDescription
VDST
SRC0