[6922] target-alpha: Fix bug: palcode is at least 6 bits.
Revision: 6922
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6922 Author: aurel32 Date: 2009-03-29 00:13:38 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
target-alpha: Fix bug: palcode is at least 6 bits.
Signed-off-by Tristan Gingold <[email protected]>
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/target-alpha/translate.c
Modified: trunk/target-alpha/translate.c
===================================================================
target-alpha/translate.c +1 -1
@@ -692,7 +692,7 @@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 */