## unzip

# Function unzip

Source

    pub fn unzip(rs: u32) -> u32

🔬This is a nightly-only experimental API. (`riscv_ext_intrinsics` #114544)
Available on RISC-V RV32 and target feature `zbkb` only.
Expand description

Place odd and even bits of the source word into upper/lower halves of the destination.

This instruction places the even bits of the source register into the low half of the destination, and the odd bits of the source into the high bits of the destination. It is the inverse of the zip instruction. This instruction is available only on RV32.

Source: RISC-V Cryptography Extensions Volume I: Scalar & Entropy Source Instructions

Version: v1.0.1

Section: 3.45