[Bug 80037] i965: Figure out how to remove copy-propagated MOV x, (abs)x

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 11 03:09:44 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80037

--- Comment #1 from Iago Toral <itoral at igalia.com> ---
(In reply to comment #0)
> Some psychonauts shaders do pow(abs(x), y), which generates
> 
> mov vgrf10:F, |vgrf10|:F
> pow vgrf53:F, vgrf10:F, vgrf55:F
> 
> We copy propagate from the MOV into the POW:
> 
> mov vgrf10:F, |vgrf10|:F
> pow vgrf53:F, |vgrf10|:F, vgrf55:F

This is not happening for me. What I get is something like this:

mov(8)          g11<1>F         (abs)g7<4,4,1>.xF
math pow(8)     g13<1>F         g11<8,8,1>F     g12<8,8,1>F


This was on SNB... is abs copy propagation only happening for specific hardware
generations?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140911/045b268d/attachment.html>


More information about the intel-3d-bugs mailing list