binutils Newspaper
NOVEMBER 30, 2026
binutils — Committed

Zibi Extension for RISC-V merged

Kito Cheng's binutils-gdb patch for the RISC-V Zibi extension has been merged.

Jeff Law reports that Kito Cheng’s patch for the RISC-V Zibi extension in binutils-gdb has been committed. The Zibi extension introduces two new instructions that compare a small constant against a register and branch on equality or inequality. Jeff Law, acting as reviewer, had previously planned to merge the patch and made a minor version bump to 0.9.

In the Thread 2 participants
  1. Kito Cheng <kito.cheng@sifive.com> proposer

    Announces that the Zibi Extension patch for RISC-V has been pushed.

    “pushed :)”
  2. Jeff Law <jeffreyalaw@gmail.com> reviewer

    Confirms Kito's patch for the RISC-V Zibi extension is ready for commit, having reviewed it and made a minor version bump.

    “This is Kito's binutils-gdb patch for the Zibi RISC-V extension. Zibi introduces two new instructions compare a small constant against a register and branch on equality/inequality. I manually built the match/mask tables which lined up with Kito's implementation. The only change I made was bumping the version to 0.9.”

In Details

This discussion pertains to the binutils-gdb component, specifically the integration of the RISC-V 'Zibi' extension. Zibi adds conditional branch instructions based on register-immediate comparisons. The patch involves updating the instruction tables and dissectors within binutils-gdb to recognize and correctly handle these new instructions.

For Context
RISC-V
An open-standard instruction set architecture (ISA) based on reduced instruction set computing principles.
Zibi Extension
A proposed extension for the RISC-V ISA that adds instructions for comparing a register with an immediate value and branching based on the result.
binutils-gdb
A component of the GNU Binutils project that includes support for the GDB debugger, often sharing instruction set definitions.
patch
A piece of code or a set of changes intended to be applied to existing source code to fix bugs or add new features.
Filed Under: binutilsrisc-vinstruction setcompiler