qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1] M68k for 2.13 patches
@ 2018-05-14 18:05 Laurent Vivier
  2018-05-14 18:05 ` [Qemu-devel] [PULL 1/1] m68k: fix floatx80_mod() (Coverity CID1390568) Laurent Vivier
  2018-05-15  9:04 ` [Qemu-devel] [PULL 0/1] M68k for 2.13 patches Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Laurent Vivier @ 2018-05-14 18:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Laurent Vivier

The following changes since commit 7a9180b77eca258ab418ec00ab397392e70e55d9:

  Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging (2018-05-14 14:15:27 +0100)

are available in the Git repository at:

  git://github.com/vivier/qemu-m68k.git tags/m68k-for-2.13-pull-request

for you to fetch changes up to 5a73e7f313da0e4657bcac61b533ced71b0d0224:

  m68k: fix floatx80_mod() (Coverity CID1390568) (2018-05-14 19:13:07 +0200)

----------------------------------------------------------------
Fix coverity CID1390568
----------------------------------------------------------------

Laurent Vivier (1):
  m68k: fix floatx80_mod() (Coverity CID1390568)

 target/m68k/softfloat.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.14.3

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

* [Qemu-devel] [PULL 1/1] m68k: fix floatx80_mod() (Coverity CID1390568)
  2018-05-14 18:05 [Qemu-devel] [PULL 0/1] M68k for 2.13 patches Laurent Vivier
@ 2018-05-14 18:05 ` Laurent Vivier
  2018-05-15  9:04 ` [Qemu-devel] [PULL 0/1] M68k for 2.13 patches Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2018-05-14 18:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Laurent Vivier

Update the variable checked by the loop condition (expDiff).
Backport the update from Previous.

Fixes: 591596b77a ("target/m68k: add fmod/frem")
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20180508203937.16796-1-laurent@vivier.eu>
---
 target/m68k/softfloat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/m68k/softfloat.c b/target/m68k/softfloat.c
index e41b07d042..d093997219 100644
--- a/target/m68k/softfloat.c
+++ b/target/m68k/softfloat.c
@@ -103,6 +103,7 @@ floatx80 floatx80_mod(floatx80 a, floatx80 b, float_status *status)
         mul64To128(bSig, qTemp, &term0, &term1);
         sub128(aSig0, aSig1, term0, term1, &aSig0, &aSig1);
         shortShift128Left(aSig0, aSig1, 62, &aSig0, &aSig1);
+        expDiff -= 62;
     }
     expDiff += 64;
     if (0 < expDiff) {
-- 
2.14.3

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

* Re: [Qemu-devel] [PULL 0/1] M68k for 2.13 patches
  2018-05-14 18:05 [Qemu-devel] [PULL 0/1] M68k for 2.13 patches Laurent Vivier
  2018-05-14 18:05 ` [Qemu-devel] [PULL 1/1] m68k: fix floatx80_mod() (Coverity CID1390568) Laurent Vivier
@ 2018-05-15  9:04 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2018-05-15  9:04 UTC (permalink / raw)
  To: Laurent Vivier; +Cc: QEMU Developers

On 14 May 2018 at 19:05, Laurent Vivier <laurent@vivier.eu> wrote:
> The following changes since commit 7a9180b77eca258ab418ec00ab397392e70e55d9:
>
>   Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging (2018-05-14 14:15:27 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/vivier/qemu-m68k.git tags/m68k-for-2.13-pull-request
>
> for you to fetch changes up to 5a73e7f313da0e4657bcac61b533ced71b0d0224:
>
>   m68k: fix floatx80_mod() (Coverity CID1390568) (2018-05-14 19:13:07 +0200)
>
> ----------------------------------------------------------------
> Fix coverity CID1390568
> ----------------------------------------------------------------
>
> Laurent Vivier (1):
>   m68k: fix floatx80_mod() (Coverity CID1390568)
>
>  target/m68k/softfloat.c | 1 +
>  1 file changed, 1 insertion(+)
>

Applied, thanks.

-- PMM

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

end of thread, other threads:[~2018-05-15  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14 18:05 [Qemu-devel] [PULL 0/1] M68k for 2.13 patches Laurent Vivier
2018-05-14 18:05 ` [Qemu-devel] [PULL 1/1] m68k: fix floatx80_mod() (Coverity CID1390568) Laurent Vivier
2018-05-15  9:04 ` [Qemu-devel] [PULL 0/1] M68k for 2.13 patches Peter Maydell

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