[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Patch/ppc: fix isel opcode decoding
From: |
Tristan Gingold |
Subject: |
[Qemu-devel] Patch/ppc: fix isel opcode decoding |
Date: |
Mon, 5 May 2008 13:47:22 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi,
while trying ppc e200 core instructions, I found a bug in the decoding of
isel: this instruction has no opc3 field (used for rC). The current decoding
only worked when rC = 0. This patch fixes this issue.
Tristan.
===================================================================
--- target-ppc/translate.c (revision 4338)
+++ target-ppc/translate.c (working copy)
@@ -1119,7 +1119,7 @@
}
/* isel (PowerPC 2.03 specification) */
-GEN_HANDLER(isel, 0x1F, 0x0F, 0x00, 0x00000001, PPC_ISEL)
+GEN_HANDLER(isel, 0x1F, 0x0F, 0xFF, 0x00000001, PPC_ISEL)
{
uint32_t bi = rC(ctx->opcode);
uint32_t mask;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] Patch/ppc: fix isel opcode decoding,
Tristan Gingold <=