From: Heikki Lindholm <holindho@cs.helsinki.fi>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] target-sparc fpu fix
Date: Thu, 03 Aug 2006 10:24:21 +0300 [thread overview]
Message-ID: <44D1A4A5.7050907@cs.helsinki.fi> (raw)
[-- Attachment #1: Type: text/plain, Size: 145 bytes --]
Sparc target does not build on powerpc anymore. Not quite sure if the
following patch is correct, but it fixes the problem.
-- Heikki Lindholm
[-- Attachment #2: qemu-sparcfpu.patch --]
[-- Type: text/plain, Size: 483 bytes --]
--- target-sparc/op_helper.c.old 2006-08-03 10:10:16.000000000 +0300
+++ target-sparc/op_helper.c 2006-08-03 09:45:14.000000000 +0300
@@ -12,12 +12,12 @@
#ifdef USE_INT_TO_FLOAT_HELPERS
void do_fitos(void)
{
- FT0 = int32_to_float32(*((int32_t *)&FT1));
+ FT0 = int32_to_float32(*((int32_t *)&FT1), &env->fp_status);
}
void do_fitod(void)
{
- DT0 = int32_to_float64(*((int32_t *)&FT1));
+ DT0 = int32_to_float64(*((int32_t *)&FT1), &env->fp_status);
}
#endif
reply other threads:[~2006-08-03 7:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=44D1A4A5.7050907@cs.helsinki.fi \
--to=holindho@cs.helsinki.fi \
--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).