binutils Newspaper
OCTOBER 12, 2026
s390 — Proposed

s390: Add optional operand M3 to .insn pseudo-mnemonic rxe

Makes the M3 mask operand optional for the .insn rxe pseudo-mnemonic in the s390 assembler.

This patch makes the M3 mask operand optional for the .insn rxe pseudo-mnemonic in the s390 assembler, allowing for backward-compatible coding of all operands. This aligns with the RXE instruction format’s optional M3 field. The changes include documentation updates and new test cases for both ESA/390 and z/Architecture operand formats.

In the Thread 1 participant
  1. Jens Remus <jremus@linux.ibm.com> proposer

    Makes the M3 operand optional for the .insn rxe pseudo-mnemonic and adds corresponding tests and documentation.

    “The RXE instruction format has an optional M3 mask field. Add this mask operand to the pseudo-mnemonic rxe as optional to enable coding of all operands in a backward compatible manner.”

In Details

This patch enhances the s390 support in GNU Assembler (gas) by making the M3 mask operand optional for the .insn rxe (RX Extension) pseudo-mnemonic. This change ensures that the assembler can correctly handle instructions where the M3 field is omitted, providing backward compatibility as specified by the RXE instruction format. The updates include changes to opcode definitions, assembler documentation, and the addition of test cases.

Filed Under: s390assemblerinstruction-formatoptional-operand