s390: Make R2 operand optional in .insn pseudo-mnemonic rr
The RR instruction format has an optional R2 field. Make the R2
operand in the .insn pseudo-mnemonic rr optional.
While at it add comments to the ESA/390 .insn pseudo-mnemonic test.
opcodes/
* s390-opc.c (s390_opformats): Make R2 operand optional in
pseudo-mnemonic rr.
gas/
* doc/c-s390.texi (s390 Formats): Document RR operand R2 as
optional.
gas/testsuite/
* gas/s390/esa-operands.d (rr): Add comment.
* gas/s390/esa-operands.s (rr): Likewise.
* gas/s390/zarch-operands.d: Add test for .insn rr.
* gas/s390/zarch-operands.s: Likewise.
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
6 files changed