binutils Newspaper
OCTOBER 12, 2026
s390 — Proposed

s390: Add test for .insn pseudo-mnemonic rrs

Adds gas test cases for the .insn rrs pseudo-mnemonic on s390.

This patch adds a new test case for the .insn rrs pseudo-mnemonic to the s390 GNU Assembler (gas) test suite. The changes update the zarch-operands disassembly and assembly files to include specific examples for this mnemonic, ensuring proper assembly and disassembly behavior.

In the Thread 1 participant
  1. Jens Remus <jremus@linux.ibm.com> proposer

    Submits patches to add test cases for the .insn rrs pseudo-mnemonic in the s390 gas assembler.

    “gas/testsuite/ * gas/s390/zarch-operands.d: Add test for .insn rrs. * gas/s390/zarch-operands.s: Likewise.”

In Details

This patch adds test cases for the '.insn rrs' pseudo-mnemonic in the s390 GNU Assembler (gas). It extends the zarch-operands test suite by adding definitions and expected outputs for this specific instruction format, ensuring correct assembly and disassembly.

For Context
.insn
A GNU Assembler directive that allows embedding raw machine instructions or pseudo-mnemonics, useful for testing or specific instruction generation.
pseudo-mnemonic
An assembly language construct that resembles a machine instruction but is processed by the assembler to generate one or more actual machine instructions or to represent a complex instruction format.
Filed Under: s390gastestsassembler