compiler/nir: add lowering for 16-bit ldexp
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 24 May 2018 07:54:45 +0000 (09:54 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 25 Mar 2019 15:08:25 +0000 (16:08 +0100)
commit763c8aabed3e03a67b6c7ba1388aa72f5b6044e4
tree6b1410bff50069d40484e971e1449a8ba1acfe3f
parent3766334923e9180c5ed98a97808dda1a2665332d
compiler/nir: add lowering for 16-bit ldexp

v2 (Topi):
 - Make bit-size handling order be 16-bit, 32-bit, 64-bit
 - Clamp lower exponent range at -28 instead of -30.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_algebraic.py