diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-29 00:13:38 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-29 00:13:38 +0000 |
commit | e79ab94150db9484dd30a4c721454bc7f8b7a966 (patch) | |
tree | f69c202d7856c840a77d16a55a1f47357e19d801 | |
parent | 1aef4c5779006a35306b4deb4e23a8ea4db9f6e2 (diff) |
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
-rw-r--r-- | target-alpha/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index e27376d75e..2501815c6e 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -692,7 +692,7 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn) if (ctx->mem_idx & 1) goto invalid_opc; else - gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x1F) << 6), 0); + gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x3F) << 6), 0); #endif } else { /* Invalid PAL call */ |