diff options
author | Richard Henderson <rth@twiddle.net> | 2017-06-18 11:26:38 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-07-17 14:13:17 -0700 |
commit | 7591db780d9e464232e7ae692302ebe1dbb76141 (patch) | |
tree | 38427efffa6caae63622feaa978eb62554283324 /target/s390x/insn-data.def | |
parent | 941ef3db03fe40cec04fbf0102d1aa14711c708d (diff) | |
download | qemu-7591db780d9e464232e7ae692302ebe1dbb76141.zip qemu-7591db780d9e464232e7ae692302ebe1dbb76141.tar.gz qemu-7591db780d9e464232e7ae692302ebe1dbb76141.tar.bz2 |
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>
Diffstat (limited to 'target/s390x/insn-data.def')
-rw-r--r-- | target/s390x/insn-data.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/insn-data.def b/target/s390x/insn-data.def index 323a301..bc6ff01 100644 --- a/target/s390x/insn-data.def +++ b/target/s390x/insn-data.def @@ -736,7 +736,7 @@ C(0xec57, RXSBG, RIE_f, GIE, 0, r2, r1, 0, rosbg, 0) /* SEARCH STRING */ - C(0xb25e, SRST, RRE, Z, r1_o, r2_o, 0, 0, srst, 0) + C(0xb25e, SRST, RRE, Z, 0, 0, 0, 0, srst, 0) /* SET ACCESS */ C(0xb24e, SAR, RRE, Z, 0, r2_o, 0, 0, sar, 0) |