intel/compiler: Add Gen11+ native float type
authorMatt Turner <mattst88@gmail.com>
Wed, 14 Jun 2017 18:03:19 +0000 (11:03 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 28 Feb 2018 19:15:47 +0000 (11:15 -0800)
commit2cff3242109078999c57d5e6772418c09e835826
tree2a039fe05a88b4737fa7a88371a87eb5ec493bde
parent58611ff913df74e7f790b0c572b983a992e25a17
intel/compiler: Add Gen11+ native float type

This new type exposes the additional precision offered by the
accumulator register and will be used in the next patch to implement the
functionality of the PLN instruction using a pair of MAD instructions.

One weird thing to note: align1 ternary instructions may only have an
accumulator in the dst or src1 normally, but when src0's type is :NF
the accumulator is read.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_disasm.c
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_eu_validate.c
src/intel/compiler/brw_reg_type.c
src/intel/compiler/brw_reg_type.h
src/intel/compiler/brw_shader.cpp