[PATCH 33/46] s390: Make D(B) operand optional in .insn pseudo-mnemonic s

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.
  • • Improved usability for specific s390 instructions.

All attributes

project
binutils
subsystem
s390
patch_id
—
discussion_id
20261005153947.363053-81-jremus@linux.ibm.com
source_type
public_inbox
title
[PATCH 33/46] s390: Make D(B) operand optional in .insn pseudo-mnemonic s
headline
s390: Make D(B) operand optional in .insn pseudo-mnemonic s
tldr
Makes the D(B) operand optional for the s390 .insn pseudo-mnemonic 's', 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.
  • • Improved usability for specific s390 instructions.
series_id
binutils:s390: make d(b) operand optional in .insn pseudo-mnemonic s
series_role
reply
series_parts
[]
tags
  • • binutils
  • • gas
  • • s390
  • • assembler
  • • instruction format
bugzilla_url
—
date
2026-10-05T00:00:00.000Z

[PATCH 33/46] s390: Make D(B) operand optional in .insn pseudo-mnemonic s

This patch makes the D(B) composite operand optional in the s390 assembler’s .insn pseudo-mnemonic for the ‘s’ instruction. This change aligns the assembler’s behavior with the S instruction format, which specifies optional B and D fields. The commit also adds comments to existing tests for ESA/390 and includes new tests for z/Architecture s instructions.