[PATCH 19/46] s390: Make R2 operand optional in .insn pseudo-mnemonic rr

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

  • • Increases assembler flexibility by allowing more compact instruction representations.
  • • Requires careful testing to ensure correct parsing of both present and absent R2 operands.

All attributes

project
binutils
subsystem
s390
patch_id
—
discussion_id
20261005153947.363053-67-jremus@linux.ibm.com
source_type
public_inbox
title
[PATCH 19/46] s390: Make R2 operand optional in .insn pseudo-mnemonic rr
headline
s390: Make R2 operand optional in .insn pseudo-mnemonic rr
tldr
Makes the R2 operand optional for the .insn rr pseudo-mnemonic in the s390 assembler.
proposer
Jens Remus <jremus@linux.ibm.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Increases assembler flexibility by allowing more compact instruction representations.
  • • Requires careful testing to ensure correct parsing of both present and absent R2 operands.
series_id
binutils:s390: make r2 operand optional in .insn pseudo-mnemonic rr
series_role
reply
series_parts
[]
tags
  • • s390
  • • assembler
  • • instruction-format
  • • optional-operand
bugzilla_url
—
date
2026-10-05T00:00:00.000Z

[PATCH 19/46] s390: Make R2 operand optional in .insn pseudo-mnemonic rr

This patch modifies the s390 assembler’s handling of the .insn rr pseudo-mnemonic to make the R2 operand optional. This aligns with the RR instruction format’s optional R2 field. The changes include documentation updates and new test cases for both ESA/390 and z/Architecture operand formats.