[PATCH 08/46] s390: Treat signed/unsigned immediate operands in .insn pseudo-mnemonics as either

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

  • • Introduces a new PSEUDO_MNEMONIC instruction flag to distinguish this special range check, potentially increasing the instruction flag space.
  • • Modifies the fixup data structure to store pointers, increasing its size but simplifying operand handling.

All attributes

project
binutils
subsystem
s390
patch_id
—
discussion_id
20261005153947.363053-56-jremus@linux.ibm.com
source_type
public_inbox
title
[PATCH 08/46] s390: Treat signed/unsigned immediate operands in .insn pseudo-mnemonics as either
headline
s390: Treat signed/unsigned immediate operands in .insn pseudo-mnemonics as either
tldr
Handle mixed signed/unsigned immediate operands in s390 .insn pseudo-mnemonics.
proposer
Jens Remus <jremus@linux.ibm.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Introduces a new PSEUDO_MNEMONIC instruction flag to distinguish this special range check, potentially increasing the instruction flag space.
  • • Modifies the fixup data structure to store pointers, increasing its size but simplifying operand handling.
series_id
binutils:s390: treat signed/unsigned immediate operands in .insn pseudo-mnemonics as either
series_role
reply
series_parts
[]
tags
  • • s390
  • • gas
  • • .insn
  • • operands
  • • fixups
bugzilla_url
—
date
2026-10-05T00:00:00.000Z

[PATCH 08/46] s390: Treat signed/unsigned immediate operands in .insn pseudo-mnemonics as either

This patch modifies the s390 gas assembler to correctly handle immediate operands in .insn pseudo-mnemonics, which can be either signed or unsigned depending on the instruction. It introduces a new flag and modifies the operand range check to accommodate this, storing opcode and operand pointers for fixup processing. This change also cleans up how operand indices are handled in fixup data.