]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
s390: Add suffix to conditional branch instruction descriptions
authorJens Remus <jremus@linux.ibm.com>
Wed, 20 Dec 2023 10:34:48 +0000 (11:34 +0100)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Wed, 20 Dec 2023 10:50:32 +0000 (11:50 +0100)
commit1c354ebcbacada00db94e8563eca2c73df2096b4
tree3c0ab2ea36d1623b1f661cd38833fe1f92c70a99
parentf96fe7f454bdd077abec2acc415f546bb5646189
s390: Add suffix to conditional branch instruction descriptions

Suffix the instruction description of conditional branch extended
mnemonics with their condition (e.g. "on A high"). This complements
the optional printing of instruction descriptions as comments in the
disassembly.

Due to the added text the maximum description length is increased from
80 to 128 characters (including the trailing '\0' character).

opcodes/
* s390-mkopc.c: Add suffix to conditional branch extended
  mnemonic instruction descriptions.

gas/
* testsuite/gas/s390/zarch-insndesc.s: Add test cases for
  printing of suffixed instruction description of conditional
  branch extended mnemonics.
* testsuite/gas/s390/zarch-insndesc.d: Likewise.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Reviewed-by: Andreas Krebbel <krebbel@linux.ibm.com>
gas/testsuite/gas/s390/zarch-insndesc.d
gas/testsuite/gas/s390/zarch-insndesc.s
opcodes/s390-mkopc.c