binutils Newspaper
OCTOBER 12, 2026
s390 — Proposed

s390: Add test for .insn pseudo-mnemonic vsi

Adds a test case for the VSI instruction format using the .insn pseudo-mnemonic in the s390 assembler.

This patch adds new test cases to the s390 assembler’s testsuite for the VSI instruction format when used with the .insn pseudo-mnemonic. The tests are added to zarch-operands.d and zarch-operands.s to verify correct assembly and disassembly of VSI instructions.

In Details

This is a test-only patch for the s390 assembler's .insn directive support. It adds specific test cases in gas/testsuite/gas/s390/zarch-operands.d and .s to cover the VSI (Vector Scalar Integer) instruction format. This ensures that instructions using the VSI format can be correctly assembled and disassembled via the .insn pseudo-mnemonic, verifying the implementation's accuracy.

For Context
.insn
An assembler pseudo-mnemonic that allows embedding raw machine instructions using their format and opcode.
pseudo-mnemonic
An assembler directive that represents a machine instruction or a sequence of instructions using a symbolic name.
s390
IBM's mainframe and enterprise server architecture.
VSI format
A specific instruction encoding format for the s390 architecture, likely related to vector operations.
testsuite
A collection of tests designed to verify the correctness of a software component.
Filed Under: binutilsgass390assemblertesting