[Mesa-dev] [PATCH 0/3] Some register allocator cleanups and optimizations

Connor Abbott cwabbott0 at gmail.com
Tue Jul 29 18:18:51 PDT 2014


On Tue, Jul 29, 2014 at 5:53 PM, Connor Abbott <cwabbott0 at gmail.com> wrote:
> This patch series contains some improvements to the register allocator
> used by the i965 fs and vec4 backends and r300g. The most important
> patch, and the only one with an intended functional change, is the last
> one. Full shader-db results are reproduced in its commit message, but
> here's the summary:
>
> total instructions in shared programs: 4545447 -> 4545411 (-0.00%)
> instructions in affected programs:     1353 -> 1317 (-2.66%)
> GAINED:                                124
> LOST:                                  6
>
> Connor Abbott (3):
>   ra: cleanup the public API
>   ra: make the p, q test more efficient
>   ra: optimistically color only one node at a time
>
>  .../drivers/r300/compiler/radeon_pair_regalloc.c   |   2 +-
>  src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp  |   2 +-
>  .../drivers/dri/i965/brw_vec4_reg_allocate.cpp     |   2 +-
>  src/mesa/program/register_allocate.c               | 150 ++++++++-------------
>  src/mesa/program/register_allocate.h               |   5 +-
>  5 files changed, 62 insertions(+), 99 deletions(-)
>
> --
> 1.9.3
>

Whoops, I forgot to mention... no piglit regressions on my Ivy Bridge.


More information about the mesa-dev mailing list