[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [BUG] [PATCH] Fix emulation for MIPS CP3 opcode?
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [BUG] [PATCH] Fix emulation for MIPS CP3 opcode? |
Date: |
Tue, 01 May 2007 12:58:48 +0200 |
User-agent: |
IceDove 1.5.0.10 (X11/20070329) |
Maybe the CpU exception for OPC_CP3 should
set CP0 Cause CE to 3, not 1?
If you agree, my patch fixes this.
Stefan
Index: target-mips/translate.c
===================================================================
--- target-mips/translate.c (Revision 622)
+++ target-mips/translate.c (Arbeitskopie)
@@ -5069,7 +5069,7 @@
break;
}
} else {
- generate_exception_err(ctx, EXCP_CpU, 1);
+ generate_exception_err(ctx, EXCP_CpU, 3);
}
break;
- [Qemu-devel] [BUG] [PATCH] Fix emulation for MIPS CP3 opcode?,
Stefan Weil <=