qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu/target-i386 helper.c
Date: Mon, 19 Jun 2006 22:43:38 +0000	[thread overview]
Message-ID: <E1FsST4-00061q-L8@savannah.gnu.org> (raw)

CVSROOT:	/sources/qemu
Module name:	qemu
Changes by:	Fabrice Bellard <bellard>	06/06/19 22:43:38

Modified files:
	target-i386    : helper.c 

Log message:
	fxam fix (Julian Seward)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/helper.c?cvsroot=qemu&r1=1.66&r2=1.67

Patches:
Index: helper.c
===================================================================
RCS file: /sources/qemu/qemu/target-i386/helper.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- helper.c	19 Jun 2006 22:06:13 -0000	1.66
+++ helper.c	19 Jun 2006 22:43:38 -0000	1.67
@@ -2950,9 +2950,14 @@
     if (SIGND(temp))
         env->fpus |= 0x200; /* C1 <-- 1 */
 
+    /* XXX: test fptags too */
     expdif = EXPD(temp);
     if (expdif == MAXEXPD) {
+#ifdef USE_X86LDOUBLE
+        if (MANTD(temp) == 0x8000000000000000ULL)
+#else
         if (MANTD(temp) == 0)
+#endif
             env->fpus |=  0x500 /*Infinity*/;
         else
             env->fpus |=  0x100 /*NaN*/;

             reply	other threads:[~2006-06-19 22:43 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 22:43 Fabrice Bellard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-28 22:30 [Qemu-devel] qemu/target-i386 helper.c Aurelien Jarno
2008-02-03  3:26 Andrzej Zaborowski
2007-12-09 23:39 Andrzej Zaborowski
2007-09-13  2:21 Thiemo Seufer
2007-04-18 11:15 Thiemo Seufer
2007-04-17 23:25 Thiemo Seufer
2007-04-02 16:33 Thiemo Seufer
2007-04-02  8:56 Thiemo Seufer
2007-02-01 22:12 Fabrice Bellard
2006-10-02 21:35 Eric Lowe
2006-10-02 17:28 Juergen Keil
2006-10-02  9:37 Juergen Keil
2006-10-02 17:04 ` Paul Jakma
2006-09-29 20:01 Fabrice Bellard
2006-09-29 21:03 ` Eric Lowe
2006-10-01 12:51 ` Paul Jakma
2006-09-27 21:31 Fabrice Bellard
2006-09-28  8:07 ` Jens Arm
2006-06-19 22:06 Fabrice Bellard
2006-03-03  1:54 Fabrice Bellard
2006-02-09 21:54 Fabrice Bellard
2005-12-17  2:59 Fabrice Bellard
2005-12-17  1:05 Fabrice Bellard
2005-12-04 22:17 Fabrice Bellard
2005-11-28 21:01 Fabrice Bellard
2005-09-08 19:26 Fabrice Bellard
2005-08-21 17:30 Fabrice Bellard
2005-08-21  9:32 Fabrice Bellard
2005-08-15 16:33 Fabrice Bellard
2005-04-24 18:04 Fabrice Bellard
2005-04-23 17:48 Fabrice Bellard
2005-04-17 19:50 Fabrice Bellard
2005-04-07 20:33 Fabrice Bellard
2005-01-23 20:45 Fabrice Bellard
2005-01-16 23:35 Fabrice Bellard
2005-01-09  1:18 Fabrice Bellard
2003-11-16 16:06 Fabrice Bellard
2003-11-13 23:15 Fabrice Bellard
2003-11-12 23:42 Fabrice Bellard

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=E1FsST4-00061q-L8@savannah.gnu.org \
    --to=fabrice@bellard.org \
    --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).