[PATCH 09/46] s390: Add support for three optional operands in dis-/assembly

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

  • • Increased complexity in operand parsing logic for optional operands.

All attributes

project
binutils
subsystem
s390
patch_id
—
discussion_id
20261005153947.363053-57-jremus@linux.ibm.com
source_type
public_inbox
title
[PATCH 09/46] s390: Add support for three optional operands in dis-/assembly
headline
s390: Add support for three optional operands in dis-/assembly
tldr
Enhances s390 assembler and disassembler to support .insn pseudo-mnemonics with up to three optional operands.
proposer
Jens Remus <jremus@linux.ibm.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Increased complexity in operand parsing logic for optional operands.
series_id
binutils:s390: add support for three optional operands in dis-/assembly
series_role
reply
series_parts
[]
tags
  • • s390
  • • gas
  • • assembler
  • • disassembler
  • • instruction-formats
bugzilla_url
—
date
2026-10-05T00:00:00.000Z

[PATCH 09/46] s390: Add support for three optional operands in dis-/assembly

This patch introduces support for instruction formats with up to three optional operands for s390 pseudo-mnemonics in the GNU Assembler. It defines new flags S390_INSTR_FLAG_OPTPARM3 and S390_INSTR_FLAG_OPTPARM_MASK and updates gas, opcodes, and include files to handle these extended operand capabilities, specifically for VRR variants.