qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 4/4] target-arm: Use the standard FPSCR value for VRSQRTS
Date: Fri,  7 Jan 2011 09:26:27 +0000	[thread overview]
Message-ID: <1294392387-24300-5-git-send-email-peter.maydell@linaro.org> (raw)
In-Reply-To: <1294392387-24300-1-git-send-email-peter.maydell@linaro.org>

VSQRTS always uses the standard FPSCR value as it is a Neon instruction.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 target-arm/helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target-arm/helper.c b/target-arm/helper.c
index d779055..8186500 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -2616,7 +2616,7 @@ float32 HELPER(recps_f32)(float32 a, float32 b, CPUState *env)
 
 float32 HELPER(rsqrts_f32)(float32 a, float32 b, CPUState *env)
 {
-    float_status *s = &env->vfp.fp_status;
+    float_status *s = &env->vfp.standard_fp_status;
     float32 two = int32_to_float32(2, s);
     float32 three = int32_to_float32(3, s);
     float32 product;
-- 
1.6.3.3

  parent reply	other threads:[~2011-01-07  9:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07  9:26 [Qemu-devel] [PATCH 0/4] target-arm: Fix VRSQRTS Peter Maydell
2011-01-07  9:26 ` [Qemu-devel] [PATCH 1/4] softfloat: Add float32_is_zero_or_denormal() function Peter Maydell
2011-01-10 19:13   ` Aurelien Jarno
2011-01-07  9:26 ` [Qemu-devel] [PATCH 2/4] target-arm: Fix implementation of VRSQRTS Peter Maydell
2011-01-10 19:20   ` Aurelien Jarno
2011-01-07  9:26 ` [Qemu-devel] [PATCH 3/4] target-arm: Add support for 'Standard FPSCR Value' as used by Neon Peter Maydell
2011-01-10 19:20   ` Aurelien Jarno
2011-01-07  9:26 ` Peter Maydell [this message]
2011-01-10 19:20   ` [Qemu-devel] [PATCH 4/4] target-arm: Use the standard FPSCR value for VRSQRTS Aurelien Jarno
2011-01-14 19:41 ` [Qemu-devel] [PATCH 0/4] target-arm: Fix VRSQRTS 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=1294392387-24300-5-git-send-email-peter.maydell@linaro.org \
    --to=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 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).