[Mesa-dev] [PATCH] radeonsi: enable denorms for 64-bit and 16-bit floats

Matt Arsenault arsenm2 at gmail.com
Mon Feb 8 16:16:38 UTC 2016


> On Feb 8, 2016, at 08:08, Tom Stellard <tom at stellard.net> wrote:
> 
> Do SI/CI support fp64 denorms?  If so, won't this hurt performance?
> 
> We should tell the compiler we are enabling fp-64 denorms by adding
> +fp64-denormals to the feature string.  It would also be better to
> read the float_mode value from the config registers emitted by the
> compiler.

Yes, the runtime here should read the value out of the binary and enable it in the compiler rather than the runtime hardcoding it. If you wanted to load a shader with different FP rules for example it should be able to switch.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160208/0743f4e2/attachment.html>


More information about the mesa-dev mailing list