[cfe-dev] [llvm-dev] RFC: change -fp-contract=off to actually disable FMAs

Matt Arsenault via cfe-dev cfe-dev at lists.llvm.org
Wed Jul 10 12:52:08 PDT 2019



> On Jul 10, 2019, at 15:27, Scott Manley via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Is there context I am not aware of for ::Strict and ISD::FMAD? I could see value in generating FMAs when its expanded form would be identical -- but curious if that was actually the intent or not. If it is, perhaps we could allow "Standard/on" to fuse ops if FMAD is available instead of the "Strict" level? In any case, we should still have a way to explicitly turn off FMAs.
> 

FMAD Is not FMA, and should not be part of any discussion related to fusion rules. It is defined to be identical to the separate fmul and fadd

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190710/144901e4/attachment.html>


More information about the cfe-dev mailing list