[Intel-gfx] [PATCH 3/3] drm/i915: Replace "INTEL_INFO->gen == x" checks with IS_GENx

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri May 6 14:16:02 UTC 2016


On 06/05/16 14:59, Chris Wilson wrote:
> On Fri, May 06, 2016 at 02:43:51PM +0100, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>
>> This way optimization from a previous patch works even better.
>
> Impact on object size? The hope is that gcc is able to combine tests so
> reduce instruction count.

Every patch in this series shrinks the object size.

With the bitmask approach it is able to combine tests, previously it wasn't.

Regards,

Tvrtko



More information about the Intel-gfx mailing list