core::arch::riscv64

Function swap16

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

Swap the 16-bit halfwords within each 32-bit word of a register