On 2017-07-01 13:25, Richard Henderson wrote: > 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. > > Signed-off-by: Richard Henderson <r...@twiddle.net> > --- > target/s390x/helper.h | 2 +- > target/s390x/mem_helper.c | 25 ++++++++++++++----------- > target/s390x/translate.c | 9 +++++++-- > target/s390x/insn-data.def | 2 +- > 4 files changed, 23 insertions(+), 15 deletions(-)
Reviewed-by: Aurelien Jarno <aurel...@aurel32.net> -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net