softfloat: Name rounding mode enum
commit3dede407cc61b64997f0c30f6dbf4df09949abc9
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 5 May 2020 16:01:49 +0000 (5 09:01 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 19 May 2020 15:41:26 +0000 (19 08:41 -0700)
tree288547e5ec3f66d733f83e35a41f6c16143b3502
parenta828b373bdabc7e53d1e218e3fc76f85b6674688
softfloat: Name rounding mode enum

Give the previously unnamed enum a typedef name.  Use the packed
attribute so that we do not affect the layout of the float_status
struct.  Use it in the prototypes of relevant functions.

Adjust switch statements as necessary to avoid compiler warnings.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
fpu/softfloat.c
include/fpu/softfloat-helpers.h
include/fpu/softfloat-types.h
include/fpu/softfloat.h
target/arm/vfp_helper.c
target/m68k/fpu_helper.c