qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <berlios@weilnetz.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [BUG] [PATCH] Fix emulation for MIPS CP3 opcode?
Date: Tue, 01 May 2007 12:58:48 +0200	[thread overview]
Message-ID: <46371D68.1030200@weilnetz.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

Maybe the CpU exception for OPC_CP3 should
set CP0 Cause CE to 3, not 1?

If you agree, my patch fixes this.

Stefan


[-- Attachment #2: mips.patch --]
[-- Type: text/x-diff, Size: 403 bytes --]

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;
 

             reply	other threads:[~2007-05-01 11:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 10:58 Stefan Weil [this message]
2007-05-01 12:54 ` [Qemu-devel] [BUG] [PATCH] Fix emulation for MIPS CP3 opcode? Thiemo Seufer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46371D68.1030200@weilnetz.de \
    --to=berlios@weilnetz.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).