[llvm-dev] Floating point semantic modes

Cameron McInally via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 29 12:53:30 PST 2020


On Wed, Jan 29, 2020 at 3:21 PM Kaylor, Andrew <andrew.kaylor at intel.com> wrote:
>
> No, the fp-model options are intentionally umbrella/convenience options that set everything. So, -fp-model=strict is intended to provide exactly the "fully strict" mode that I was incorrectly associating with FENV_ACCESS. That is, the FMFs are orthogonal to fenv_access, but no fp modes are orthogonal to fp-model.
>
> You can, of course, override individual settings from the fp-model. For instance, "-fp-model=strict -fassociative-math" could be allowed.

Ok, that's good enough. Thanks for the clarification.


More information about the llvm-dev mailing list