qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 0/1] qemu-sparc queue 20250527
@ 2025-05-27 21:46 Mark Cave-Ayland
  2025-05-27 21:46 ` [PULL 1/1] target/sparc: don't set FSR_NVA when comparing unordered floats Mark Cave-Ayland
  2025-05-29 12:35 ` [PULL 0/1] qemu-sparc queue 20250527 Stefan Hajnoczi
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Cave-Ayland @ 2025-05-27 21:46 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit 80db93b2b88f9b3ed8927ae7ac74ca30e643a83e:

  Merge tag 'pull-aspeed-20250526' of https://github.com/legoater/qemu into staging (2025-05-26 10:16:59 -0400)

are available in the Git repository at:

  https://github.com/mcayland/qemu.git tags/qemu-sparc-20250527

for you to fetch changes up to 4ec799dd17dcbb0fa4e90e685d5d6fcf8f72338a:

  target/sparc: don't set FSR_NVA when comparing unordered floats (2025-05-27 20:09:13 +0100)

----------------------------------------------------------------
qemu-sparc queue:
 - Fix for FSR_NVA during unordered float comparison.

----------------------------------------------------------------
Clément Chigot (1):
      target/sparc: don't set FSR_NVA when comparing unordered floats

 target/sparc/fop_helper.c | 1 -
 1 file changed, 1 deletion(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PULL 1/1] target/sparc: don't set FSR_NVA when comparing unordered floats
  2025-05-27 21:46 [PULL 0/1] qemu-sparc queue 20250527 Mark Cave-Ayland
@ 2025-05-27 21:46 ` Mark Cave-Ayland
  2025-05-29 12:35 ` [PULL 0/1] qemu-sparc queue 20250527 Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Cave-Ayland @ 2025-05-27 21:46 UTC (permalink / raw)
  To: qemu-devel

From: Clément Chigot <chigot@adacore.com>

FSR_NVA should be set when one of the operands is a signaling NaN or
when using FCMPEx instructions. But those cases are already handled
within check_ieee_exception or floatxx_compare functions.
Otherwise, it should be left untouched.

FTR, this was detected by inf-compare-[5678] tests within gcc
testsuites.

Signed-off-by: Clément Chigot <chigot@adacore.com>
Message-Id: <20250425093513.863289-1-chigot@adacore.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
 target/sparc/fop_helper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/sparc/fop_helper.c b/target/sparc/fop_helper.c
index a49334150d..29fd166438 100644
--- a/target/sparc/fop_helper.c
+++ b/target/sparc/fop_helper.c
@@ -445,7 +445,6 @@ static uint32_t finish_fcmp(CPUSPARCState *env, FloatRelation r, uintptr_t ra)
     case float_relation_greater:
         return 2;
     case float_relation_unordered:
-        env->fsr |= FSR_NVA;
         return 3;
     }
     g_assert_not_reached();
-- 
2.39.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PULL 0/1] qemu-sparc queue 20250527
  2025-05-27 21:46 [PULL 0/1] qemu-sparc queue 20250527 Mark Cave-Ayland
  2025-05-27 21:46 ` [PULL 1/1] target/sparc: don't set FSR_NVA when comparing unordered floats Mark Cave-Ayland
@ 2025-05-29 12:35 ` Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2025-05-29 12:35 UTC (permalink / raw)
  To: Mark Cave-Ayland; +Cc: qemu-devel

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

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-29 12:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27 21:46 [PULL 0/1] qemu-sparc queue 20250527 Mark Cave-Ayland
2025-05-27 21:46 ` [PULL 1/1] target/sparc: don't set FSR_NVA when comparing unordered floats Mark Cave-Ayland
2025-05-29 12:35 ` [PULL 0/1] qemu-sparc queue 20250527 Stefan Hajnoczi

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).