Basic bit-manipulation
Type: unprivileged
| Version | State | Ratified |
|---|---|---|
| 1.0.0 | ratified | 2021-06 |
Basic bit-manipulation
andn — AND with inverted operandc.sext.b — Sign-extend byte, 16-bit encodingc.sext.h — Sign-extend halfword, 16-bit encodingc.zext.h — Zero-extend halfword, 16-bit encodingclz — Count leading zero bitsclzw — Count leading zero bits in wordcpop — Count set bitscpopw — Count set bits in wordctz — Count trailing zero bitsctzw — Count trailing zero bits in wordmax — Maximummaxu — Unsigned maximummin — Minimumminu — Unsigned minimumorc.b — Bitware OR-combine, byte granuleorn — OR with inverted operandrev8 — Byte-reverse register (RV64 encoding)rol — Rotate left (Register)rolw — Rotate left word (Register)ror — Rotate right (Register)rori — Rotate right (Immediate)roriw — Rotate right word (Immediate)rorw — Rotate right word (Register)sext.b — Sign-extend bytesext.h — Sign-extend halfwordxnor — Exclusive NORzext.h — Zero-extend halfwordVersion af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.