mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/hppa: Decode ADDB double-word
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c65c3ee16b
commit
f25d316098
1 changed files with 11 additions and 0 deletions
|
@ -3143,6 +3143,17 @@ static bool do_addb(DisasContext *ctx, unsigned r, TCGv_reg in1,
|
||||||
DisasCond cond;
|
DisasCond cond;
|
||||||
bool d = false;
|
bool d = false;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For hppa64, the ADDB conditions change with PSW.W,
|
||||||
|
* dropping ZNV, SV, OD in favor of double-word EQ, LT, LE.
|
||||||
|
*/
|
||||||
|
if (ctx->tb_flags & PSW_W) {
|
||||||
|
d = c >= 5;
|
||||||
|
if (d) {
|
||||||
|
c &= 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
in2 = load_gpr(ctx, r);
|
in2 = load_gpr(ctx, r);
|
||||||
dest = tcg_temp_new();
|
dest = tcg_temp_new();
|
||||||
sv = NULL;
|
sv = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue