[Mesa-dev] Backends and support for pow-instructions

Ilia Mirkin imirkin at alum.mit.edu
Fri Jul 18 20:16:04 PDT 2014


FWIW, nv50/nvc0 also don't have pow instructions (looks like the last
nvidia card with a pow instruction was the GeForce FX series, first
released in 2003... even nv40 doesn't have it). The nouveau codegen
will happily lower pow's though. However would be nice to avoid the
double-work.

On Fri, Jul 18, 2014 at 7:27 PM, Marek Olšák <maraeo at gmail.com> wrote:
> There already is an option: gl_shader_compiler_options::EmitNoPow, but
> st/mesa never sets it to GL_TRUE.
>
> Marek
>
> On Sat, Jul 19, 2014 at 12:38 AM, Matt Turner <mattst88 at gmail.com> wrote:
>> On Fri, Jul 18, 2014 at 3:25 PM, Marek Olšák <maraeo at gmail.com> wrote:
>>> BTW, I have just noticed r600g also lowers POW and there is no mention
>>> of POW in the SI ISA guide either, so I don't think radeons would
>>> benefit from an optimization pass that adds POW instructions.
>>
>> Sure. We could of course add an option (like native integers) for
>> does-my-backend-do-POW.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list