On Mon, Feb 8, 2016 at 5:16 PM, Matt Arsenault <arse...@gmail.com> wrote:
>
> On Feb 8, 2016, at 08:08, Tom Stellard <t...@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.

This is not the runtime. This is the compiler. :) It's the middle-end
though, not the back-end.

I would use +fp64-denormals if it did something to graphics shaders.

Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to