qemu-e2k/target/s390x/tcg
David Hildenbrand fe00c705fe s390x/tcg: fix ignoring bit 63 when setting the storage key in SSKE
Right now we could set an 8-bit storage key via SSKE and retrieve it
again via ISKE, which is against the architecture description:

SSKE:
"
The new seven-bit storage-key value, or selected bits
thereof, is obtained from bit positions 56-62 of gen-
eral register R 1 . The contents of bit positions 0-55
and 63 of the register are ignored.
"

ISKE:
"
The seven-bit storage key is inserted in bit positions
56-62 of general register R 1 , and bit 63 is set to zero.
"

Let's properly ignore bit 63 to create the correct seven-bit storage key.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210903155514.44772-3-david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2021-09-06 16:24:05 +02:00
..
cc_helper.c
crypto_helper.c
excp_helper.c
fpu_helper.c
insn-data.def
insn-format.def
int_helper.c
mem_helper.c s390x/tcg: fix ignoring bit 63 when setting the storage key in SSKE 2021-09-06 16:24:05 +02:00
meson.build
misc_helper.c s390x/tcg: fix and optimize SPX (SET PREFIX) 2021-09-06 16:23:16 +02:00
s390-tod.h
tcg_s390x.h
translate.c accel/tcg: Remove TranslatorOps.breakpoint_check 2021-07-21 07:47:05 -10:00
translate_vx.c.inc
vec.h
vec_fpu_helper.c
vec_helper.c
vec_int_helper.c
vec_string_helper.c