nir: Lower packing and unpacking of 64-bit integer types
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Sep 2016 15:09:53 +0000 (08:09 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 20 Jan 2017 23:41:23 +0000 (15:41 -0800)
commit8ad74a2745162f8f5dcf6d0d2ec1e17fedb4b0d2
treed6385f68af1e294197d36d0ea79f8b5e6ffbe5f0
parent3460d05a718f3859a77fe100f3972095d194be26
nir: Lower packing and unpacking of 64-bit integer types

This change makes me wonder whether double packing should be
reimplemented as int64BitsToDouble(packInt2x32(v)).  I'm a little on the
fence since not all platforms that support fp64 natively support int64.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_lower_double_packing.c