microsoft/compiler: Implement new double pack/unpack alu ops
authorJesse Natalie <jenatali@microsoft.com>
Tue, 6 Apr 2021 17:46:21 +0000 (10:46 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 9 Apr 2021 01:54:33 +0000 (01:54 +0000)
commit771c223f604a33497692cee77fe0bd010bd33122
treee1b7bbec0d8792592aedfba34ec7b5c0673912a5
parent5578fdd2c49c06e34bce789343f587c666321975
microsoft/compiler: Implement new double pack/unpack alu ops

MakeDouble is pretty straightforward, but SplitDouble is interesting
since it returns a unique 2-element struct.

Reviewed-by: Enrico Galli <enrico.galli@intel.com>
Reviewed-by: Michael Tang <tangm@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10063>
src/microsoft/compiler/dxil_function.c
src/microsoft/compiler/dxil_function.h
src/microsoft/compiler/dxil_module.c
src/microsoft/compiler/dxil_module.h
src/microsoft/compiler/nir_to_dxil.c