All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 3/5] target-i386: fix cpu-exec.o build with softfloat
Date: Sun, 10 Apr 2011 21:13:25 +0200	[thread overview]
Message-ID: <1302462807-8795-3-git-send-email-aurelien@aurel32.net> (raw)
In-Reply-To: <1302462807-8795-1-git-send-email-aurelien@aurel32.net>

Fixing the definition of CPU86_LDoubleU allow building cpu-exec.o with
softfloat.

Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 target-i386/exec.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target-i386/exec.h b/target-i386/exec.h
index 6f9f709..d6922f3 100644
--- a/target-i386/exec.h
+++ b/target-i386/exec.h
@@ -145,7 +145,7 @@ static inline void svm_check_intercept(uint32_t type)
 
 /* only for x86 */
 typedef union {
-    long double d;
+    floatx80 d;
     struct {
         unsigned long long lower;
         unsigned short upper;
@@ -164,7 +164,7 @@ typedef union {
 
 /* NOTE: arm is horrible as double 32 bit words are stored in big endian ! */
 typedef union {
-    double d;
+    float64 d;
 #if !defined(HOST_WORDS_BIGENDIAN) && !defined(__arm__)
     struct {
         uint32_t lower;
-- 
1.7.2.3

  parent reply	other threads:[~2011-04-10 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10 19:13 [Qemu-devel] [PATCH 1/5] cpu-all.h: define CPU_LDoubleU Aurelien Jarno
2011-04-10 19:13 ` [Qemu-devel] [PATCH 2/5] target-i386: use CPU_LDoubleU instead of a private union Aurelien Jarno
2011-04-10 19:13 ` Aurelien Jarno [this message]
2011-04-10 20:18   ` [Qemu-devel] Re: [PATCH 3/5] target-i386: fix cpu-exec.o build with softfloat Peter Maydell
2011-04-10 19:13 ` [Qemu-devel] [PATCH 4/5] softfloat: add float{32, 64, x80, 128}_unordered() functions Aurelien Jarno
2011-04-10 19:59   ` [Qemu-devel] " Peter Maydell
2011-04-10 21:00     ` Aurelien Jarno
2011-04-10 19:13 ` [Qemu-devel] [PATCH 5/5] target-i386: add floatx_{add, mul, sub} and use them Aurelien Jarno

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=1302462807-8795-3-git-send-email-aurelien@aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=peter.maydell@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.