[Mesa-dev] [PATCH 0/2] i965: reduce driver binary size through metrics code reuse

2018-03-16 Thread Lionel Landwerlin
Hi, Here is a v2 with a fixup commit from Emil. I've also fix another issue related to hashing of normalization equations. Cheers, Lionel Landwerlin (2): i965: perf: fix a counter return type on hsw i965: perf: reduce i965 binary size src/mesa/drivers/dri/i965/Android.mk |

[Mesa-dev] [PATCH 0/2] i965: reduce driver binary size through metrics code reuse

2018-03-13 Thread Lionel Landwerlin
Hi all, While adding new metrics for newer generations I wondered how much code we could save by reusing the identical equation functions across metrics & generations. Turns out quite a bit, the saving in patch 2 is about 4Mb. We might be able to improve further by sharing similar register