[Mesa-dev] [PATCH] i965: Avoid dependency hints on math opcodes
Mike Stroyan
mike at lunarg.com
Fri Mar 21 14:41:42 PDT 2014
On Wed, Mar 19, 2014 at 3:16 PM, Matt Turner <mattst88 at gmail.com> wrote:
> - Does the broken behavior depend on the hardware generation? I.e.,
> broken on Ivy Bridge and Haswell but not Ironlake?
> - There are ~12 math ops. Are the dependency control hints broken for
> all of them, or just exp2?
The problem with NoDDClr and NoDDChk are the same on Ivy Bridge and Haswell.
It doesn't happen with Ironlake because compiling for Ironlake uses send
instead of math opcodes.
Using send means that it also avoids using NoDDClr and NoDDChk.
Mutating my piglit shader_runner test shows the same problem occurs for
math with exp2, log, rsq, sqrt, and sin.
I didn't create test cases for the two operand opcodes. But I am not
optimistic about them.
--
Mike Stroyan - Software Architect
LunarG, Inc. - The Graphics Experts
Cell: (970) 219-7905
Email: Mike at LunarG.com
Website: http://www.lunarg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140321/f4fe8b85/attachment.html>
More information about the mesa-dev
mailing list