intel/eu: Define SET_BITS helper more easily reusable than SET_FIELD.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 25 Jun 2018 19:06:50 +0000 (12:06 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 10 Jul 2018 06:46:57 +0000 (23:46 -0700)
commit20b962232b71c8f5931ddb585386725804dbd4e0
treed50a1aefc9a90b380f7a7572795c88eff7ceacc0
parentd0f589a55b51242f80c299187511db7f1b041712
intel/eu: Define SET_BITS helper more easily reusable than SET_FIELD.

Allows to specify a bitfield based on its upper and lower bounds
instead of a symbolic field definition, kind of what the current
GET_BITS macro is to GET_FIELD.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu_defines.h