intel/compiler: lower some 16-bit integer operations to 32-bit
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 26 Apr 2018 08:07:56 +0000 (10:07 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 3 May 2018 09:40:25 +0000 (11:40 +0200)
commitb11e9425df24f8c07a4cda85717407726f2d5330
tree6c0e076b7758d0face0100dcad6571fdab13ce24
parentb9a3d8c23e53b261ec626c13f0f0f6858f919371
intel/compiler: lower some 16-bit integer operations to 32-bit

These are not supported in hardware for 16-bit integers.

We do the lowering pass after the optimization loop to ensure that we
lower ALU operations injected by algebraic optimizations too.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_nir.c