[Mesa-dev] [PATCH 0/13] i965: do not use memset in *_reg() ctors

Emil Velikov emil.l.velikov at gmail.com
Thu Nov 5 08:17:48 PST 2015


Hi all,

This is a series that builds on top of Matts "i965: Refactor register 
classes".

As Matt's branch has some additional changes, the first two patches are 
fixups that could be merged directly. The follow-up four patches 
removes/reworks some of the constructors, in order to avoid reworking 
extra ctors. The rest rework the classes to use proper constructors 
rather than memset-ing and part reverts a 'hack' that Matt had to due to 
BAD_FILE != 0.

Note that due to the inlined src/dst_reg the text size has increased a 
bit, (~6K iirc) although if people prefer we can make them non-inline.

The lot can be found in branch bye-bye-memset over at
https://github.com/evelikov/Mesa

Cheers,
Emil



More information about the mesa-dev mailing list