]> git.proxmox.com Git - mirror_qemu.git/commit
target/riscv: update disas.c for xnor/orn/andn and slli.uw
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>
Fri, 20 Jan 2023 15:15:51 +0000 (16:15 +0100)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 6 Feb 2023 22:19:22 +0000 (08:19 +1000)
commit3de1fb712a072992d72bc99c2b70978132ee44d0
tree67c66da7a03f6bba091239d35f9227282869e078
parent6661b8c7fe3f8b5687d2d90f7b4f3f23d70e3e8b
target/riscv: update disas.c for xnor/orn/andn and slli.uw

The decoding of the following instructions from Zb[abcs] currently
contains decoding/printing errors:
 * xnor,orn,andn: the rs2 operand is not being printed
 * slli.uw: decodes and prints the immediate shift-amount as a
            register (e.g. 'shift-by-2' becomes 'sp') instead of
    interpreting this as an immediate

This commit updates the instruction descriptions to use the
appropriate decoding/printing formats.

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230120151551.1022761-1-philipp.tomsich@vrull.eu>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
disas/riscv.c