target/hppa: fix b,gate instruction
commit6e5f530025116b0c8c41e1a775d4b1ec87e4bd73
authorSven Schnelle <svens@stackframe.org>
Mon, 11 Mar 2019 19:15:58 +0000 (11 20:15 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 12 Mar 2019 16:13:43 +0000 (12 09:13 -0700)
tree57621a543ed582644b85a74080e0465f3db6c822
parent15da177bb40aecd829f32354190eec759947dc30
target/hppa: fix b,gate instruction

b,gate does GR[t] ← cat(GR[t]{0..29},IAOQ_Front{30..31});
instead of saving the link address to register t.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Message-Id: <20190311191602.25796-8-svens@stackframe.org>
[rth: Move link check outside of ifndef CONFIG_USER_ONLY;
 use ctx->privilege; nullify the insn earlier.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/translate.c