Function core::arch::riscv64::swap8

source ·
pub fn swap8(a: usize) -> usize
🔬This is a nightly-only experimental API. (riscv_ext_intrinsics #114544)
Available on RISC-V RV64 only.
Expand description

Swap the 8-bit bytes within each 16-bit halfword of a register.