OSDN Git Service

i965/vec4: Perform CSE on CMP(N) instructions.
authorMatt Turner <mattst88@gmail.com>
Wed, 11 Jun 2014 20:49:34 +0000 (13:49 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 7 Jul 2014 01:19:15 +0000 (18:19 -0700)
commit6f7c4a8d05df0337a992ff485c9de86f8bf81e0a
treeafd824f97b4f78cf6d556da86e3ef6df4f5d831c
parent7921bf0062e82eab732f788146464f0f0ed39b20
i965/vec4: Perform CSE on CMP(N) instructions.

Port of commit b16b3c87 to the vec4 code.

No shader-db improvements, but might as well. The fs backend saw an
improvement because it's scalar and multiple identical CMP instructions
were generated by the SEL peepholes.
src/mesa/drivers/dri/i965/brw_vec4_cse.cpp