diff options
author | Sven Schnelle <svens@stackframe.org> | 2019-03-11 20:15:56 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-03-12 09:13:43 -0700 |
commit | b06c0618c08c96d045c99b1bc21b6ce8fbee9581 (patch) | |
tree | c097d81a5bc4078ac0a43214060307bd8ccc5813 /target/hppa/op_helper.c | |
parent | 23c3d569f44284066714ff7c46bc4f19e630583f (diff) | |
download | qemu-b06c0618c08c96d045c99b1bc21b6ce8fbee9581.zip qemu-b06c0618c08c96d045c99b1bc21b6ce8fbee9581.tar.gz qemu-b06c0618c08c96d045c99b1bc21b6ce8fbee9581.tar.bz2 |
target/hppa: remove PSW I/R/Q bit check
HP ODE use rfi to set the Q bit, and i don't see anything in the
documentation that this is forbidden. So remove it.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Message-Id: <20190311191602.25796-6-svens@stackframe.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa/op_helper.c')
-rw-r--r-- | target/hppa/op_helper.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target/hppa/op_helper.c b/target/hppa/op_helper.c index a05681d..a55a5df 100644 --- a/target/hppa/op_helper.c +++ b/target/hppa/op_helper.c @@ -678,11 +678,6 @@ target_ureg HELPER(swap_system_mask)(CPUHPPAState *env, target_ureg nsm) void HELPER(rfi)(CPUHPPAState *env) { - /* ??? On second reading this condition simply seems - to be undefined rather than a diagnosed trap. */ - if (env->psw & (PSW_I | PSW_R | PSW_Q)) { - helper_excp(env, EXCP_ILL); - } env->iasq_f = (uint64_t)env->cr[CR_IIASQ] << 32; env->iasq_b = (uint64_t)env->cr_back[0] << 32; env->iaoq_f = env->cr[CR_IIAOQ]; |