zip

Scatters all of the odd and even bits of a source word into the high and low halves of a destination word. It is the inverse of the unzip instruction. This instruction is available only on RV32.

Synopsis

zip xd, xs1

Encoding

Type:

067111214151920310010011xd001xs1000010001111
funct7: 0000100
funct3: 001
opcode: 0010011

RISC-V Instruction Encoder/Decoder

open zip in rvcodecjs

Availability