]> git.proxmox.com Git - mirror_qemu.git/commit - target/s390x/tcg/translate.c
target/s390x: add BAL and BALR instructions
authorPavel Zbitskiy <pavel.zbitskiy@gmail.com>
Tue, 21 Aug 2018 02:50:59 +0000 (22:50 -0400)
committerCornelia Huck <cohuck@redhat.com>
Tue, 28 Aug 2018 15:37:01 +0000 (17:37 +0200)
commite1db291b9b3b53e9d570a9f93a1caf014a07ab64
tree4b63500eb5f58dcbd6ed2de96c34f953f1018413
parent276ba120edf4b3a0422ea51cc7afe1dd1093da65
target/s390x: add BAL and BALR instructions

These instructions are provided for compatibility purposes and are
used only by old software, in the new code BAS and BASR are preferred.
The difference between the old and new instruction exists only in the
24-bit mode.

In addition, fix BAS polluting high 32 bits of the first operand in
24- and 31-bit addressing modes.

Signed-off-by: Pavel Zbitskiy <pavel.zbitskiy@gmail.com>
Message-Id: <20180821025104.19604-3-pavel.zbitskiy@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/insn-data.def
target/s390x/translate.c