[Mesa-dev] [PATCH 20/22] i965/vec4: Relax writemask condition in CSE
Kenneth Graunke
kenneth at whitecape.org
Mon Mar 5 22:50:01 UTC 2018
On Friday, February 23, 2018 3:56:05 PM PST Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> If the previously seen instruction generates more fields than the new
> instruction, still allow CSE to happen. This doesn't do much, but it
> also enables a couple more shaders in the next patch. It helped quite a
> bit in another change series that I have (at least for now) abandoned.
>
> No changes on Skylake, Broadwell, Iron Lake or GM45.
Skylake and Broadwell sort of go without saying, they don't use this
compiler :)
It might be worth leaving some kind of comment (or renaming variables?)
in instructions_match() to indicate that 'a' is the generating
expression and 'b' is the second instance...since it's no longer
exactly symmetrical.
Either way,
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180305/92be1769/attachment.sig>
More information about the mesa-dev
mailing list