intel/eu/gen12: Extend brw_inst.h macros for Gen12 support.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 23 Aug 2019 00:52:11 +0000 (17:52 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000 (12:24 -0700)
commit7e5a8638d3a2a3b0fdd71be196ce241714827dd6
tree6a1ec88152ca46dcdc384f0e3c585f9c81b3a0ed
parent6965a02e09de2d31e5fa951ffa2ae401b2197fb1
intel/eu/gen12: Extend brw_inst.h macros for Gen12 support.

The encoding of almost every instruction field has changed in Gen12,
so this involves adding a Gen12+ bitfield spec to every brw_inst
macro.  In addition some new macros are required to handle certain
discontiguous and variable-length fields.

This commit doesn't actually include the Gen12 updated bitfield specs,
only the macros are extended here for reviewability.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
v2: Rename FDC() to FFDC() and FDC1() to FDC() for consistency with
    the existing F() and FF() macros.
src/intel/compiler/brw_inst.h