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_madds.c | |
parent | 190674f3719d7a26387715952312f6397cddfaaf (diff) |
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_madds.c')
-rw-r--r-- | tests/tcg/multiarch/float_madds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/multiarch/float_madds.c b/tests/tcg/multiarch/float_madds.c index e422608ccd..4888f8641f 100644 --- a/tests/tcg/multiarch/float_madds.c +++ b/tests/tcg/multiarch/float_madds.c @@ -54,8 +54,8 @@ static void print_result(float r, int j, int k) { char *r_fmt, *flag_fmt; - r_fmt = fmt_f32(r); flag_fmt = fmt_flags(); + r_fmt = fmt_f32(r); printf("res: %s flags=%s (%d/%d)\n", r_fmt, flag_fmt, j, k); |