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

V_PERMLANE32_SWAP_B32

T1 amd-gpu simd insn
AMD GPU V_PERMLANE32_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
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, VALU

Summary

Swap data between two vector registers. Rows 2 and 3 of the first operand are swapped with rows 0 and 1 of the second operand (one row is 16 lanes).

Syntax / Encoding

V_PERMLANE32_SWAP_B32 VDST, SRC0 | ENC_VOP1 op=90 [CDNA4]; ENC_VOP3 op=410 [CDNA4]

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32ENC_VOP10111111xxxxxxxx01011010xxxxxxxxx0xfe01fe00 / 0x7e00b400
64ENC_VOP3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101000110011010xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d19a0000

Operands

NameDescription
VDST
SRC0