intel/fs: make scan/reduce work with SIMD32 when it fits 2 registers
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 9 Aug 2019 22:40:33 +0000 (15:40 -0700)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 19 Sep 2019 02:47:17 +0000 (02:47 +0000)
commitd9ddf5076d13ccfdc0ef690ed64f9fabfc0b313a
tree6c4c2aa9a381607541ff771ffc27038ccb113bd1
parent7f07046dbcb0effec79625cd598fa98ddc748bbf
intel/fs: make scan/reduce work with SIMD32 when it fits 2 registers

When dealing with uint16_t and uint8_t on SIMD32 we can do all the
operations using just 2 registers, so we don't hit the recursion at
the beginning of emit_scan(). Because of that, we need to actually
compute scan/reduce for channels 31:16.

v2: Still missed instructions (Jason).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
src/intel/compiler/brw_fs_builder.h