[LLVMdev] Proposal: Add a target lowering hook to state that target supports floating point exception behavior.
Owen Anderson
owen at apple.com
Fri Aug 8 15:55:44 PDT 2014
> On Aug 8, 2014, at 2:56 PM, Matt Arsenault <Matthew.Arsenault at amd.com> wrote:
>
> On 08/08/2014 02:51 PM, Owen Anderson wrote:
>> I assume you meant to ask for ports that *don’t* support floating point exceptions. To my knowledge, neither R600 nor NVPTX support floating point exceptions.
>>
>> —Owen
> SI at least does, although nothing is done with that currently
Even if your hardware supports it, I’m pretty confident that you would want to compile with this option disabled for OpenGL shaders. There’s no mechanism for the user to detect the exception in the language or the API, so you’d rather just have the constant folding.
—Owen
More information about the llvm-dev
mailing list