Re: [PATCH v3 2/4] sim: Factor out NaN handling in floating point operations

Mike Frysinger via Gdb-patches
2022-01-12T10:22:57Z

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

On 11 Jan 2022 22:24, Dragan Mladjenovic wrote:
> --- a/sim/common/sim-fpu.h
> +++ b/sim/common/sim-fpu.h
>
> +/* NaN handling. */
> +
> +INLINE_SIM_FPU (int) sim_fpu_op_nan (sim_fpu *f,
> + const sim_fpu *l, const sim_fpu *r);

please add a more descriptive comment. the point of the header is for API
documentation so readers can look up to see what this function does.