Re: [PATCH 04/10] softfloat: Name rounding mode enum

2020-05-19 Thread Alex Bennée
Richard Henderson writes: > 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. > >

Re: [PATCH 04/10] softfloat: Name rounding mode enum

2020-05-15 Thread Philippe Mathieu-Daudé
On 5/15/20 9:01 PM, Richard Henderson wrote: 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

[PATCH 04/10] softfloat: Name rounding mode enum

2020-05-15 Thread Richard Henderson
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. Signed-off-by: Richard Henderson ---