History log of /linux-master/arch/s390/tools/opcodes.txt
Revision Date Author Comments
# 24842079 14-Dec-2021 Heiko Carstens <hca@linux.ibm.com>

s390/disassembler: update opcode table

Sync with binutils: update opcode table to reflect the
instruction format update of the lpswey instruction, and
add the qpaci instruction.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>


# 196e3c6a 15-Feb-2021 Heiko Carstens <hca@linux.ibm.com>

s390/disassembler: add instructions

Add more instructions to the kernel disassembler.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>


# d5b2c4cd 15-Feb-2021 Heiko Carstens <hca@linux.ibm.com>

s390/opcodes: rename selhhhr to selfhr

Provide correct mnemonic for selfhr.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>


# fc20f0c1 14-Feb-2019 Martin Schwidefsky <schwidefsky@de.ibm.com>

s390/disassembler: update opcode table

Sync with binutils and add a couple of missing instructions.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>


# 1c705ad5 03-Jan-2019 Martin Schwidefsky <schwidefsky@de.ibm.com>

s390/opcodes: add missing instructions to the disassembler

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>


# 8bc1e4ec 06-Nov-2017 Heiko Carstens <hca@linux.ibm.com>

s390/disassembler: generate opcode tables from text file

The current way of adding new instructions to the opcode tables is
painful and error prone. Therefore add, similar to binutils, a text
file which contains all opcodes and the corresponding mnemonics and
instruction formats.

A small gen_opcode_table tool then generates a header file with the
required enums and opcode table initializers at the prepare step of
the kernel build.

This way only a simple text file has to be maintained, which can be
rather easily extended.

Unlike before where there were plenty of opcode tables and a large
switch statement to find the correct opcode table, there is now only
one opcode table left which contains all instructions. A second opcode
offset table now contains offsets within the opcode table to find
instructions which have the same opcode prefix. In order to save space
all 1-byte opcode instructions are grouped together at the end of the
opcode table. This is also quite similar to like it was before.

In addition also move and change code and definitions within the
disassembler. As a side effect this reduces the size required for the
code and opcode tables by ~1.5k.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>