Re: [Intel-gfx] [PATCH 0/5] IS_GENx and related code shrinkage

2016-05-06 Thread Chris Wilson
On Fri, May 06, 2016 at 04:20:46PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Our huge amount of "what hardware I am" checks during runtime is somewhat > distasteful but to deeply ingrained to be easily fixable. > > Instead we can make them more efficient

[Intel-gfx] [PATCH 0/5] IS_GENx and related code shrinkage

2016-05-06 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Our huge amount of "what hardware I am" checks during runtime is somewhat distasteful but to deeply ingrained to be easily fixable. Instead we can make them more efficient by spotting a few easy ways of helping the compiler optimize some common