s390: Add .insn pseudo-mnemonics ss_a/b/c/d/e/f
Adds gas test cases and support for various SS format pseudo-mnemonics on s390.
This patch enhances the s390 GNU Assembler (gas) by adding support for multiple pseudo-mnemonics corresponding to the SS instruction format (ss_a through ss_f). It updates the opcode definitions and introduces comprehensive test cases in both ESA/390 and z/Architecture suites to verify assembly and disassembly for these new mnemonics.
- proposer
Submits patches to add pseudo-mnemonics for SS instruction formats to the s390 gas assembler and includes corresponding test cases.
“While at it improve the ESA/390 .insn pseudo-mnemonic test so that one can understand how the SS-a instruction MVC can be pieced together using .insn ss, which is format SS-d.”
In Details
This patch introduces pseudo-mnemonics for various SS instruction formats (ss_a through ss_f) into the s390 GNU Assembler (gas). It adds entries to s390-opc.c and extends the gas test suites (esa-operands and zarch-operands) with tests for these mnemonics, improving the assembler's support for S/390 and z/Architecture instructions.
- SS instruction format
- A format for System/370 and later IBM mainframe instructions that typically involve two operands, each specifying a register and a displacement, used for string operations.
- MVC
- A common S/390 instruction (Move Character) that copies a block of storage from a source to a destination.
- .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.