[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 01/15] tests: add fp-test, a floating point t
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH v3 01/15] tests: add fp-test, a floating point test suite |
Date: |
Wed, 11 Apr 2018 02:39:47 +0100 |
User-agent: |
mu4e 1.1.0; emacs 26.1 |
Alex Bennée <address@hidden> writes:
> Emilio G. Cota <address@hidden> writes:
>
>> This will allow us to run correctness tests against our
>> FP implementation. The test can be run in two modes (called
>> "testers"): host and soft. With the former we check the results
>> and FP flags on the host machine against the model.
>> With the latter we check QEMU's fpu primitives against the
>> model. Note that in soft mode we are not instantiating any
>> particular CPU (hence the HW_POISON_H hack to avoid macro poisoning);
>> for that we need to run the test in host mode under QEMU.
> <snip>
>
> So with the attached patch and my proposed cross build we can now get:
>
<snip>
> --- a/tests/tcg/Makefile
> +++ b/tests/tcg/Makefile
> @@ -24,6 +24,9 @@
> VPATH = $(SRC_PATH)/tests/tcg/multiarch
> TEST_SRCS = $(wildcard $(SRC_PATH)/tests/tcg/multiarch/*.c)
>
> +VPATH += $(SRC_PATH)/tests/fp
> +TEST_SRCS += $(wildcard $(SRC_PATH)/tests/fp/*.c)
> +
> VPATH += $(SRC_PATH)/tests/tcg/$(ARCH)
> TEST_SRCS += $(wildcard $(SRC_PATH)/tests/tcg/$(ARCH)/*.c)
It also needs:
fp-test: LDFLAGS+=-lm
--
Alex Bennée
- [Qemu-devel] [PATCH v3 00/15] fp-test + hardfloat, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 02/15] softfloat: fix {min, max}nummag for same-abs-value inputs, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 01/15] tests: add fp-test, a floating point test suite, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 04/15] softfloat: add float{32, 64}_is_{de, }normal, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 03/15] fp-test: add muladd variants, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 05/15] target/tricore: use float32_is_denormal, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 07/15] softfloat: rename canonicalize to sf_canonicalize, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 06/15] tests/fp: add fp-bench, a collection of simple floating point microbenchmarks, Emilio G. Cota, 2018/04/04
- [Qemu-devel] [PATCH v3 08/15] softfloat: add float{32, 64}_is_zero_or_normal, Emilio G. Cota, 2018/04/04