[Mesa-dev] [PATCH 0/2] Using MAC to optimize LRP on i965 gen < 6

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Mon Mar 10 07:59:36 PDT 2014


I think these patches create functionality which Kenneth, Eric and Matt
talk about in this discussion:
http://lists.freedesktop.org/archives/mesa-dev/2014-February/054991.html

I ran piglit quick set with these changes on Ironlake and Ivybridge and I did 
not see any regression. If this seems ok I can take a look what's with MAD
also since I now added MAC

/Juha-Pekka

Juha-Pekka Heikkila (2):
  i965: Add accumulator flag support and MAC opcode to use it
  i965: Change vec4_visitor::emit_lrp to use MAC for gen < 6

 src/mesa/drivers/dri/i965/brw_eu.h               |  1 +
 src/mesa/drivers/dri/i965/brw_vec4.cpp           | 10 ++----
 src/mesa/drivers/dri/i965/brw_vec4.h             |  1 +
 src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 12 +++----
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp   | 46 ++++++++++++------------
 5 files changed, 33 insertions(+), 37 deletions(-)

-- 
1.8.1.2



More information about the mesa-dev mailing list