core::arch::riscv32

Function swap8

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

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