tests/tcg/arm: Fix fcvt result messages
commit3693408c5ebc21008ce0ba7bc03c8a80fbb432ad
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Fri, 5 Jul 2024 08:40:20 +0000 (5 09:40 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 5 Jul 2024 11:34:18 +0000 (5 12:34 +0100)
tree5e4c27a62df1620d7da708c165a9c5be4fc9c6e9
parentb04bed529ec2bcd8f17fb127e700639bf2da9ac7
tests/tcg/arm: Fix fcvt result messages

The test cases for "converting double-precision to single-precision"
emits float but the result variable was typed as uint32_t and corrupted
the printed values. Propertly type it as float.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Fixes: 8ec8a55e3fc9 ("tests/tcg/arm: add fcvt test cases for AArch32/64")
Message-Id: <20240627-tcg-v2-1-1690a813348e@daynix.com>
[rth: Update arm ref file as well]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240630190050.160642-9-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240705084047.857176-14-alex.bennee@linaro.org>
tests/tcg/aarch64/fcvt.ref
tests/tcg/arm/fcvt.c
tests/tcg/arm/fcvt.ref