[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:20:56 UTC 2016


On 06/05/16 15:16, Tvrtko Ursulin wrote:
>
> 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.

To expand, ~1.5k savings after the five patches in this series.

Regards,

Tvrtko



More information about the Intel-gfx mailing list