qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] dd2050: softfloat: Implement the full set of


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] dd2050: softfloat: Implement the full set of comparisons f...
Date: Mon, 31 Aug 2020 11:45:41 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: dd205025a048ef6f53ff51eb86ddc58e7a82a771
      
https://github.com/qemu/qemu/commit/dd205025a048ef6f53ff51eb86ddc58e7a82a771
  Author: Kito Cheng <kito.cheng@sifive.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M include/fpu/softfloat.h
    M target/riscv/vector_helper.c

  Log Message:
  -----------
  softfloat: Implement the full set of comparisons for float16

Implement them in softfloat and remove the local versions in riscv.

Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <1596102747-20226-2-git-send-email-chihmin.chao@sifive.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0d93d8ec632154dea2627a9e989972ee09721187
      
https://github.com/qemu/qemu/commit/0d93d8ec632154dea2627a9e989972ee09721187
  Author: Frank Chang <frank.chang@sifive.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Add fp16 and uint8/int8 conversion functions

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Message-Id: <1596102747-20226-4-git-send-email-chihmin.chao@sifive.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a03e924cf8a22888060fc0de4d91de053cd5cde4
      
https://github.com/qemu/qemu/commit/a03e924cf8a22888060fc0de4d91de053cd5cde4
  Author: Stephen Long <steplong@quicinc.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Add float16_is_normal

This float16 predicate was missing from the normal set.

Signed-off-by: Stephen Long <steplong@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 8282310d8535cc2a8431c516e907da79f92df6eb
      
https://github.com/qemu/qemu/commit/8282310d8535cc2a8431c516e907da79f92df6eb
  Author: LIU Zhiwei <zhiwei_liu@c-sky.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat-types.h
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Define operations for bfloat16

This patch implements operations for bfloat16 except conversion and some misc
operations. We also add FloatFmt and pack/unpack interfaces for bfloat16.
As they are both static fields, we can't make a sperate patch for them.

Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200813071421.2509-2-zhiwei_liu@c-sky.com>
[rth: Use FloatRelation for comparison operations.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 34f0c0a98a5f3bb6706088c0384f937f7a294d3e
      
https://github.com/qemu/qemu/commit/34f0c0a98a5f3bb6706088c0384f937f7a294d3e
  Author: LIU Zhiwei <zhiwei_liu@c-sky.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Define convert operations for bfloat16

Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200813071421.2509-3-zhiwei_liu@c-sky.com>
[rth: Use FloatRoundMode for conversion functions.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5ebf5f4be66c378fd5f3dee85f54dd4942171d57
      
https://github.com/qemu/qemu/commit/5ebf5f4be66c378fd5f3dee85f54dd4942171d57
  Author: LIU Zhiwei <zhiwei_liu@c-sky.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M fpu/softfloat-specialize.c.inc
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Define misc operations for bfloat16

Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200813071421.2509-4-zhiwei_liu@c-sky.com>
[rth: Fix merge conflict with NO_SIGNALING_NANS; use bool for predicates.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c53b1079334c41b342a8ad3b7ccfd51bf5427f5a
      
https://github.com/qemu/qemu/commit/c53b1079334c41b342a8ad3b7ccfd51bf5427f5a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2020-08-29 (Sat, 29 Aug 2020)

  Changed paths:
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Define comparison operations for bfloat16

Reviewed-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4bc08c61416cf9244175807b8752caf739f7681f
      
https://github.com/qemu/qemu/commit/4bc08c61416cf9244175807b8752caf739f7681f
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-08-30 (Sun, 30 Aug 2020)

  Changed paths:
    M fpu/softfloat-specialize.c.inc
    M fpu/softfloat.c
    M include/fpu/softfloat-types.h
    M include/fpu/softfloat.h
    M target/riscv/vector_helper.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-sf-20200829' into staging

* float16 comparison wrappers
* float16 conversions to/from 8-bit integers
* bfloat16 support

# gpg: Signature made Sun 30 Aug 2020 03:29:54 BST
# 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/tags/pull-sf-20200829:
  softfloat: Define comparison operations for bfloat16
  softfloat: Define misc operations for bfloat16
  softfloat: Define convert operations for bfloat16
  softfloat: Define operations for bfloat16
  softfloat: Add float16_is_normal
  softfloat: Add fp16 and uint8/int8 conversion functions
  softfloat: Implement the full set of comparisons for float16

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


Compare: https://github.com/qemu/qemu/compare/39335fab59e1...4bc08c61416c



reply via email to

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