Richard Henderson <richard.hender...@linaro.org> writes:
> On 12/4/18 6:28 AM, Alex Bennée wrote: >> Emilio G. Cota <c...@braap.org> writes: >>> This assumes that QEMU is running on an IEEE754-compliant FPU and >>> that the rounding is set to the default (to nearest). The >>> implementation-dependent specifics of the FPU should not matter; things >>> like tininess detection and snan representation are still dealt with in >>> soft-fp. However, this approach will break on most hosts if we compile >>> QEMU with flags such as -ffast-math. We control the flags so this should >>> be easy to enforce though. >> >> We don't currently enforce this though although maybe that would be too >> much hand holding for compiler ricers hell bent on not understanding the >> flags they use. > > We could always > > #ifdef __FAST_MATH__ > #error "Silliness like this will get you nowhere" > #endif Emilio, are you happy to add that guard with a suitable pithy comment? -- Alex Bennée