YESTERDAY
s390 — Proposed
s390: Make I2 operand optional in .insn pseudo-mnemonic siy
Make the I2 operand optional for s390 .insn siy pseudo-mnemonic.
This patch makes the I2 operand optional for the ‘.insn siy’ pseudo-mnemonic in the s390 gas assembler. It updates the opcode definitions, documentation, and adds test cases for this instruction format.
In Details
This patch modifies the s390 GNU Assembler (gas) to support an optional I2 field in the SIY instruction format, accessible via the '.insn siy' pseudo-mnemonic. Changes include updating opcodes/s390-opc.c, gas/doc/c-s390.texi to reflect the optionality (denoted by '[I2]'), and adding new test cases in gas/testsuite/gas/s390/zarch-operands.d/.s.
For Context
- .insn
- A GNU assembler directive that allows embedding raw instruction bytes or defining pseudo-mnemonics for specific instruction formats.
- pseudo-mnemonic
- An assembly language construct that represents a machine instruction, potentially with operands that are not direct encodings of machine code but are processed by the assembler.
- operand
- A value or symbol that an instruction operates on.
- SIY
- A specific instruction format in the s390 architecture.