ra: Use a bitset for storing which registers belong to a class.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 22 Feb 2014 03:50:15 +0000 (19:50 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 18 Mar 2014 17:15:24 +0000 (10:15 -0700)
commitda1cce2d68b847bdc7783376a6f8d08d123e7c71
treec308efe8530c7c50aaf0c108b21b478294689cd7
parent8d856c3937c790da626ef754622df91d562d8507
ra: Use a bitset for storing which registers belong to a class.

This should use 1/8 the memory.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Christoph Brill <egore911@gmail.com>
src/mesa/program/register_allocate.c