target-alpha: Fix bug: palcode is at least 6 bits.
Signed-off-by: Tristan Gingold <gingold@adacore.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6922 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
1aef4c5779
commit
e79ab94150
@ -692,7 +692,7 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn)
|
|||||||
if (ctx->mem_idx & 1)
|
if (ctx->mem_idx & 1)
|
||||||
goto invalid_opc;
|
goto invalid_opc;
|
||||||
else
|
else
|
||||||
gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x1F) << 6), 0);
|
gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x3F) << 6), 0);
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
/* Invalid PAL call */
|
/* Invalid PAL call */
|
||||||
|
Loading…
Reference in New Issue
Block a user