qemu-e2k/target/hppa
Sven Schnelle 68aa851aa2 target/hppa: fix PSW Q bit behaviour to match hardware
PA-RISC specification says: "Setting the PSW Q-bit, PSW{28}, to 1
with this instruction, if it was not already 1, is an undefined
operation." However, at least HP-UX 10.20 sets the Q bit from 0 to 1
with the SSM instruction. Tested this both on HP9000/712 and
HP9000/785/C3750, both machines set the Q bit from 0 to 1 without
exception. This makes HP-UX 10.20 progress a little bit further.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Message-Id: <20190129191402.29539-1-svens@stackframe.org>
[rth: Add a comment to the code as well.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-02-06 10:49:21 +00:00
..
cpu-qom.h
cpu.c fpu/softfloat: Specialize on snan_bit_is_one 2018-05-17 15:27:15 -07:00
cpu.h target/hppa: Include priv level in user-only iaoq 2018-03-26 22:56:57 +08:00
gdbstub.c target/hppa: fix setting registers via gdb 2019-02-06 10:49:21 +00:00
helper.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
helper.h target/hppa: Implement PROBE for system mode 2018-01-31 05:30:50 -08:00
int_helper.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
machine.c vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
Makefile.objs target/hppa: Add migration for the cpu 2018-01-31 05:30:49 -08:00
mem_helper.c target/hppa: Raise exception 26 on emulated hardware 2018-10-16 15:32:22 -07:00
op_helper.c target/hppa: fix PSW Q bit behaviour to match hardware 2019-02-06 10:49:21 +00:00
translate.c target/hppa: use tb_cflags() to access tb->cflags 2019-02-06 10:49:21 +00:00