qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] More PPC emulation fixes
Date: Thu, 03 Mar 2005 12:49:51 +0100	[thread overview]
Message-ID: <1109850591.13299.9614.camel@rapid> (raw)
In-Reply-To: <1109804693.13299.9584.camel@rapid>

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

On Thu, 2005-03-03 at 00:04, J. Mayer wrote:
> Here's a new patch that fixes the last (!) bug in PPC fixed point
> operations and most FPU bugs.

> Apply and enjoy.

I realise I missed one "detail":
FPU has to be activated in OHW, or it would crash. I'll send a modified
version 0.3 tonight. For those who don't want to wait, here's the needed
patch.

-- 
J. Mayer <l_indien@magic.fr>
Never organized

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

Index: src/vectors.S
===================================================================
--- src/vectors.S	(revision 90)
+++ src/vectors.S	(working copy)
@@ -73,6 +73,8 @@
         stwu    r14, 4(r13)                               ;
         bdnz    _bios_copy_loop                           ;
         /* Synchronize the whole execution context */
+        /* Also enable FPU */
+        ori     r0, r0, (1 << 13)                         ;
         mtspr   26, r29                                   ;
         mtspr   27, r0                                    ;
         rfi                                               ;



  reply	other threads:[~2005-03-03 12:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02 23:04 [Qemu-devel] More PPC emulation fixes J. Mayer
2005-03-03 11:49 ` J. Mayer [this message]
2005-03-04 10:31   ` J. Mayer
2005-03-07 17:52   ` Thayne Harbaugh
2005-03-07 18:26     ` Asko Kauppi
2005-03-07 18:43       ` Thayne Harbaugh
2005-03-08 14:51         ` J. Mayer
2005-03-08 14:51     ` J. Mayer
2005-03-08 15:05       ` Thayne Harbaugh
2005-03-08 15:59         ` Asko Kauppi

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=1109850591.13299.9614.camel@rapid \
    --to=l_indien@magic.fr \
    --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).