intel/inst: Fix the ia16_addr_imm helpers
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 16 Nov 2018 19:03:31 +0000 (13:03 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 29 Jan 2019 18:43:55 +0000 (18:43 +0000)
commitd96969120de1a9cee04a889831347154f54e0c4b
tree18e3788121fd5ab81b6ba6f57a8b9ecfc8b8283b
parente46fb33143c20132e8a56e20a6ea4c768886bc79
intel/inst: Fix the ia16_addr_imm helpers

These have clearly never seen any use.... On gen8, the bottom 4 bits are
missing so we need to shift them off before we call set_bits and shift
again when we get the bits.  Found by inspection.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/compiler/brw_inst.h