[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 19/33] tests/tcg: add float_madds test to multiarch
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 19/33] tests/tcg: add float_madds test to multiarch |
Date: |
Thu, 26 Sep 2019 00:17:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 9/24/19 11:00 PM, Alex Bennée wrote:
> This is a generic floating point multiply and accumulate test for
> single precision floating point values. I've split of the common float
> functions into a helper library so additional tests can use the same
> common code.
>
> As I don't have references for all architectures I've allowed some
> flexibility for tests to pass without reference files. They can be
> added as we get collect them.
>
> Signed-off-by: Alex Bennée <address@hidden>
> Reviewed-by: Richard Henderson <address@hidden>
> ---
> v2
> - allow tests to add addition patterns to the list
> - conditional diff-out
> - use __builtin_fmaf instead of forcing optimisation
> - use hex floating point definitions and output
> v3
> - remove add_const stuff, make explicit tests explicit
> - various style clean-ups
> ---
> tests/tcg/Makefile.target | 9 +
> tests/tcg/aarch64/float_madds.ref | 768 ++++++++++++++++++++++++++++
> tests/tcg/arm/Makefile.target | 3 +
> tests/tcg/arm/float_madds.ref | 768 ++++++++++++++++++++++++++++
> tests/tcg/multiarch/Makefile.target | 12 +-
> tests/tcg/multiarch/float_helpers.c | 230 +++++++++
> tests/tcg/multiarch/float_helpers.h | 26 +
> tests/tcg/multiarch/float_madds.c | 103 ++++
> 8 files changed, 1918 insertions(+), 1 deletion(-)
> create mode 100644 tests/tcg/aarch64/float_madds.ref
> create mode 100644 tests/tcg/arm/float_madds.ref
> create mode 100644 tests/tcg/multiarch/float_helpers.c
> create mode 100644 tests/tcg/multiarch/float_helpers.h
> create mode 100644 tests/tcg/multiarch/float_madds.c
[...]
Tested-by: Philippe Mathieu-Daudé <address@hidden>
- Re: [PATCH v3 29/33] docker: remove 'deprecated' image definitions, (continued)
[PATCH v3 25/33] tests/docker: Add fedora-win10sdk-cross image, Alex Bennée, 2019/09/24
[PATCH v3 16/33] podman: fix command invocation, Alex Bennée, 2019/09/24
[PATCH v3 19/33] tests/tcg: add float_madds test to multiarch, Alex Bennée, 2019/09/24
- Re: [PATCH v3 19/33] tests/tcg: add float_madds test to multiarch,
Philippe Mathieu-Daudé <=
[PATCH v3 33/33] tests/docker: remove debian-powerpc-user-cross, Alex Bennée, 2019/09/24
[PATCH v3 20/33] tests/tcg: add generic version of float_convs, Alex Bennée, 2019/09/24
[PATCH v3 31/33] docker: remove unused debian-sid, Alex Bennée, 2019/09/24
Re: [PATCH v3 00/33] testing/next (docker,tcg, alpha ;-), no-reply, 2019/09/27