target/s390x: Emulate CVDG
commita6e55a82e9b4b9f85f46e93a4f540ac0ec72c3ad
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 5 Feb 2024 20:54:53 +0000 (5 21:54 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 6 Feb 2024 08:51:37 +0000 (6 09:51 +0100)
treee69086e40bf35b532e34bf17cdb429e671b09e50
parent6a41a621715976237bdf24499b617592a24fefb2
target/s390x: Emulate CVDG

CVDG is the same as CVD, except that it converts 64 bits into 128,
rather than 32 into 64. Create a new helper, which uses Int128
wrappers.

Reported-by: Ido Plat <Ido.Plat@ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240205205830.6425-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/helper.h
target/s390x/tcg/insn-data.h.inc
target/s390x/tcg/int_helper.c
target/s390x/tcg/translate.c