GNU Toolchain Begins Landing RISC-V Bitmanip/Zbs Instructions Support

Written by Michael Larabel in RISC-V on 7 October 2021 at 05:19 AM EDT. 5 Comments
The GNU toolchain (initially with the GNU Assembler) has begun landing support for RISC-V's Zbs instructions that are part of the Bitmanip extension to the processor ISA.

Zbs is part of RISC-V's Bitmanip extension, the "bit manipulation" additions to the RISC-V architecture focused on delivering code size reduction, better performance, and lower energy consumption. The 1.0 Bitmanip extension was frozen this summer and thus now moving on to compiler/toolchain support. More details on Bitmanip and the specific Zbs instructions via this repository.

There were several commits made this morning to GNU Binutils Git for adding the support for the RISC-V Zbs instructions. These RISC-V additions will in turn be with GNU Binutils 2.38 and presumably the GCC compiler support for the new instructions also settle in time for next year's GCC 12.

In somewhat related news, Linux 5.16 is adding KVM support for RISC-V now that RISC-V's hypervisor extension has also entered a frozen state.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week