i965: Print subreg in units of type-size on ternary instructions
authorMatt Turner <mattst88@gmail.com>
Wed, 14 Jun 2017 22:05:39 +0000 (15:05 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 20 Oct 2017 22:00:16 +0000 (15:00 -0700)
commitba50b538af81164476bb79fd686b48c2d43a0b22
tree71cf62486d6dd20accbace37c48ca3aed95ec267
parent3f14150e9ac9478bbbe4a93b9bb449d740971958
i965: Print subreg in units of type-size on ternary instructions

The instruction word contains SubRegNum[4:2] so it's in units of dwords
(hence the * 4 to get it in terms of bytes). Before this patch, the
subreg would have been wrong for DF arguments.

Reviewed-by: Scott D Phillips <scott.d.phillips@intel.com>
src/intel/compiler/brw_disasm.c