OSDN Git Service

target/s390x: Tidy SRST
authorRichard Henderson <rth@twiddle.net>
Sun, 18 Jun 2017 18:26:38 +0000 (11:26 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 17 Jul 2017 21:13:17 +0000 (14:13 -0700)
commit7591db780d9e464232e7ae692302ebe1dbb76141
tree38427efffa6caae63622feaa978eb62554283324
parent941ef3db03fe40cec04fbf0102d1aa14711c708d
target/s390x: Tidy SRST

Since we require all registers saved on input, read R0 from ENV instead
of passing it manually.  Recognize the specification exception when R0
contains incorrect data.  Keep high bits of result registers unmodified
when in 31 or 24-bit mode.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/s390x/helper.h
target/s390x/insn-data.def
target/s390x/mem_helper.c
target/s390x/translate.c