[PATCH 21/46] s390: Make R1 and R2 operands optional in .insn pseudo-mnemonic rre

Project / Subsystem

binutils / s390

Date

2026-10-05

Proposer

Jens Remus <jremus@linux.ibm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Better alignment between assembler syntax and hardware instruction format.
  • • Increased syntax flexibility for the RRE instruction.

All attributes

project
binutils
subsystem
s390
patch_id
—
discussion_id
20261005153947.363053-69-jremus@linux.ibm.com
source_type
public_inbox
title
[PATCH 21/46] s390: Make R1 and R2 operands optional in .insn pseudo-mnemonic rre
headline
s390: Make R1 and R2 operands optional in .insn pseudo-mnemonic rre
tldr
Makes the R1 and R2 operands optional for the s390 .insn pseudo-mnemonic 'rre', aligning it with the instruction format.
proposer
Jens Remus <jremus@linux.ibm.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Better alignment between assembler syntax and hardware instruction format.
  • • Increased syntax flexibility for the RRE instruction.
series_id
binutils:s390: make r1 and r2 operands optional in .insn pseudo-mnemonic rre
series_role
reply
series_parts
[]
tags
  • • binutils
  • • gas
  • • s390
  • • assembler
  • • instruction format
bugzilla_url
—
date
2026-10-05T00:00:00.000Z

[PATCH 21/46] s390: Make R1 and R2 operands optional in .insn pseudo-mnemonic rre

This patch modifies the s390 assembler to make the R1 and R2 operands optional in the .insn pseudo-mnemonic for the RRE instruction. This change aligns the assembler’s syntax with the RRE instruction format, which specifies R1 and R2 as optional fields. The patch also updates documentation and adds corresponding test cases for both ESA/390 and z/Architecture variants.