]> git.proxmox.com Git - mirror_qemu.git/commit
softfloat: Move round_to_int to softfloat-parts.c.inc
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 14 Nov 2020 20:53:12 +0000 (12:53 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 16 May 2021 12:13:51 +0000 (07:13 -0500)
commitafc34931ebb919e41dcafcfea14e0ac8aff6e9ce
treea957509a2f4f1c02e7d781b7f31f911ceb6dd472
parent9882ccaff93b5f4c8fdc775074dd92f1a9a17b61
softfloat: Move round_to_int to softfloat-parts.c.inc

At the same time, convert to pointers, split out
parts$N_round_to_int_normal, define a macro for
parts_round_to_int using QEMU_GENERIC.

This necessarily meant some rearrangement to the
rount_to_{,u}int_and_pack routines, so go ahead and
convert to parts_round_to_int_normal, which in turn
allows cleaning up of the raised exception handling.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
fpu/softfloat-parts.c.inc
fpu/softfloat.c