intel/eu/gen12: Implement immediate 64 bit constant encoding.
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 16 Nov 2018 00:19:39 +0000 (16:19 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000 (12:24 -0700)
commita12533f2ce2e5a4aeae0f1fc8d759de73bdb6e2d
tree09c3383f26084da1fb916e8597010d7af62336b3
parent5291283af0fbcbc96888f63f78bd6480fc70fcc1
intel/eu/gen12: Implement immediate 64 bit constant encoding.

On Gen12, 64 bit immediate constants are loaded in reverse order. Lower
32 bit gets loaded from bit 96-127 and higher 32 bits from 64-95 in
instruction encoding.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Co-authored-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/compiler/brw_inst.h