qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 7625a1: utils: Use fixed-point arithmetic in


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 7625a1: utils: Use fixed-point arithmetic in qemu_strtosz
Date: Tue, 16 Mar 2021 14:13:45 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 7625a1ed013a042748753750c9d9b1a33c9cd8e0
      
https://github.com/qemu/qemu/commit/7625a1ed013a042748753750c9d9b1a33c9cd8e0
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M tests/unit/test-cutils.c
    M util/cutils.c

  Log Message:
  -----------
  utils: Use fixed-point arithmetic in qemu_strtosz

Once we've parsed the fractional value, extract it into an integral
64-bit fraction.  Perform the scaling with integer arithmetic, and
simplify the overflow detection.

Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210315155835.1970210-2-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0693602a23276b076a679b1e7ed9125a444336b6
      
https://github.com/qemu/qemu/commit/0693602a23276b076a679b1e7ed9125a444336b6
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M tests/unit/test-cutils.c
    M util/cutils.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-misc-20210315' 
into staging

Fix qemu_strtosz testsuite failures for i686.

# gpg: Signature made Mon 15 Mar 2021 18:49:12 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth-gitlab/tags/pull-misc-20210315:
  utils: Use fixed-point arithmetic in qemu_strtosz

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/5b7f5586d182...0693602a2327



reply via email to

[Prev in Thread] Current Thread [Next in Thread]