mbox series

[0/8] tests/tcg/loongarch64: Add some tests.

Message ID 20220716085426.3098060-1-gaosong@loongson.cn
Headers show
Series tests/tcg/loongarch64: Add some tests. | expand

Message

gaosong July 16, 2022, 8:54 a.m. UTC
Hi, All

This series adds some float reference files, fixes some
float_convd/float_convs/float_madds bugs, and adds some
instructions tests.

Thanks.
Song Gao


Philippe Mathieu-Daudé (1):
  tests/tcg/loongarch64: Add float reference files

Song Gao (7):
  fpu/softfloat: Add LoongArch specialization for pickNaNMulAdd
  target/loongarch: Fix float_convd/float_convs test failing
  tests/tcg/loongarch64: Add clo related instructions test
  tests/tcg/loongarch64: Add div and mod related instructions test
  tests/tcg/loongarch64: Add fclass test
  tests/tcg/loongarch64: Add som comparison instructions test
  tests/tcg/loongarch64: Add pcadd related instructions test

 fpu/softfloat-specialize.c.inc        |  23 +
 target/loongarch/fpu_helper.c         | 143 ++--
 tests/tcg/loongarch64/Makefile.target |  19 +
 tests/tcg/loongarch64/float_convd.ref | 988 ++++++++++++++++++++++++++
 tests/tcg/loongarch64/float_convs.ref | 748 +++++++++++++++++++
 tests/tcg/loongarch64/float_madds.ref | 768 ++++++++++++++++++++
 tests/tcg/loongarch64/test_bit.c      |  88 +++
 tests/tcg/loongarch64/test_div.c      |  54 ++
 tests/tcg/loongarch64/test_fclass.c   | 130 ++++
 tests/tcg/loongarch64/test_fpcom.c    |  37 +
 tests/tcg/loongarch64/test_pcadd.c    |  38 +
 11 files changed, 2973 insertions(+), 63 deletions(-)
 create mode 100644 tests/tcg/loongarch64/Makefile.target
 create mode 100644 tests/tcg/loongarch64/float_convd.ref
 create mode 100644 tests/tcg/loongarch64/float_convs.ref
 create mode 100644 tests/tcg/loongarch64/float_madds.ref
 create mode 100644 tests/tcg/loongarch64/test_bit.c
 create mode 100644 tests/tcg/loongarch64/test_div.c
 create mode 100644 tests/tcg/loongarch64/test_fclass.c
 create mode 100644 tests/tcg/loongarch64/test_fpcom.c
 create mode 100644 tests/tcg/loongarch64/test_pcadd.c

Comments

Richard Henderson July 19, 2022, 7:33 a.m. UTC | #1
On 7/16/22 14:24, Song Gao wrote:
> Hi, All
> 
> This series adds some float reference files, fixes some
> float_convd/float_convs/float_madds bugs, and adds some
> instructions tests.
> 
> Thanks.
> Song Gao
> 

Queued all of these.  I added the #ifdef for pickNaN to patch 2, and I have left patch 3 
as is.  (My quibble with patch 3 is minor, and it's more important to have the bug fixed.)


r~