diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2022-01-05 13:50:03 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2022-01-18 16:44:16 +0000 |
| commit | 603bd9c25eba3c994a1ba681a641372d23eca5f0 (patch) | |
| tree | ee55e2a516a49c8074dea4edf301f375f573d7d1 /tests/tcg/multiarch/float_convs.c | |
| parent | 190674f3719d7a26387715952312f6397cddfaaf (diff) | |
| download | focaccia-qemu-603bd9c25eba3c994a1ba681a641372d23eca5f0.tar.gz focaccia-qemu-603bd9c25eba3c994a1ba681a641372d23eca5f0.zip | |
tests/tcg/multiarch: Read fp flags before printf
We need to read the floating-point flags before printf may do other floating-point operations which may affect the flags. Hexagon reference files regenerated by Taylor Simpson. Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Taylor Simpson <tsimpson@quicinc.com> Message-Id: <1639510781-3790-1-git-send-email-tsimpson@quicinc.com> Message-Id: <20211224035541.2159966-2-richard.henderson@linaro.org> Message-Id: <20220105135009.1584676-29-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/multiarch/float_convs.c')
| -rw-r--r-- | tests/tcg/multiarch/float_convs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/multiarch/float_convs.c b/tests/tcg/multiarch/float_convs.c index e9be75c2d5..2e4fa55324 100644 --- a/tests/tcg/multiarch/float_convs.c +++ b/tests/tcg/multiarch/float_convs.c @@ -51,8 +51,8 @@ static void convert_single_to_double(float input) output = input; - out_fmt = fmt_f64(output); flag_fmt = fmt_flags(); + out_fmt = fmt_f64(output); printf(" to double: %s (%s)\n", out_fmt, flag_fmt); free(out_fmt); free(flag_fmt); |