softfloat: Replace WHICH with RET in parts_pick_nan
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 11 Dec 2024 15:31:09 +0000 (15:31 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 11 Dec 2024 15:31:09 +0000 (15:31 +0000)
commitcc87d3d3818212291cb3dbcbf6b9db8680b4e965
tree805f604e77ef601abe2ed89dc7df8872c49f361c
parent9778115ed780c8d8b027dea4125afb3890511797
softfloat: Replace WHICH with RET in parts_pick_nan

Replace the "index" selecting between A and B with a result variable
of the proper type.  This improves clarity within the function.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20241203203949.483774-12-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
fpu/softfloat-parts.c.inc