binutils Newspaper
OCTOBER 6, 2026
s390/opcodes — Proposed

s390: Rename insn format RRF_F0FF to RRD_F0FF

Renames S/390 instruction format RRF_F0FF to RRD_F0FF to match newer architecture specifications.

This patch renames the S/390 instruction format RRF_F0FF to RRD_F0FF. This change reflects a separation of instruction formats in the architecture since IBM z196, where the RRF format (with the first operand in bits 16-19) has been distinguished into the RRD format. The opcode definitions and related text files are updated accordingly.

In Details

This patch updates the opcode definitions for the S/390 architecture. Specifically, it renames the instruction format INSTR_RRF_F0FF and MASK_RRF_F0FF to INSTR_RRD_F0FF and MASK_RRD_F0FF. This reflects a clarification in the architecture's principles of operation since the z196, which distinguishes between RRF and RRD formats based on operand placement. The changes are applied to s390-opc.c and s390-opc.txt, affecting instructions like madbr and madr.

For Context
s390
IBM's 31-bit and 64-bit mainframe architecture.
opcode
A machine language instruction.
instruction format
A specific layout of bits within a machine instruction that defines the operation code and operand fields.
RRF
A type of S/390 instruction format that includes register and fixed-point fields.
RRD
A type of S/390 instruction format, distinguished from RRF, used for certain instructions.
Filed Under: s390architectureopcodeslinker