mbox series

[0/2] tests/tcg: Fix float_{convs,madds}

Message ID 20211224035541.2159966-1-richard.henderson@linaro.org
Headers show
Series tests/tcg: Fix float_{convs,madds} | expand

Message

Richard Henderson Dec. 24, 2021, 3:55 a.m. UTC
We didn't read the fp flags early enough, so we got whatever
came out of the guest printf.  With careful review of the
hexagon output, we would have seen this long ago.


r~


Richard Henderson (2):
  tests/tcg/multiarch: Read fp flags before printf
  test/tcg/ppc64le: Add float reference files

 tests/tcg/multiarch/float_convs.c |   2 +-
 tests/tcg/multiarch/float_madds.c |   2 +-
 tests/tcg/hexagon/float_convs.ref | 152 +++---
 tests/tcg/hexagon/float_madds.ref |  48 +-
 tests/tcg/ppc64le/float_convs.ref | 748 +++++++++++++++++++++++++++++
 tests/tcg/ppc64le/float_madds.ref | 768 ++++++++++++++++++++++++++++++
 6 files changed, 1618 insertions(+), 102 deletions(-)
 create mode 100644 tests/tcg/ppc64le/float_convs.ref
 create mode 100644 tests/tcg/ppc64le/float_madds.ref

Comments

Alex Bennée Jan. 4, 2022, 8:08 p.m. UTC | #1
Richard Henderson <richard.henderson@linaro.org> writes:

> We didn't read the fp flags early enough, so we got whatever
> came out of the guest printf.  With careful review of the
> hexagon output, we would have seen this long ago.

Queued to testing/next, thanks.