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