nir: Add opcodes to extract bytes or words.
authorMatt Turner <mattst88@gmail.com>
Thu, 21 Jan 2016 17:09:29 +0000 (09:09 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 1 Feb 2016 18:43:57 +0000 (10:43 -0800)
commit68f8c5730bef7b93fd235ae2f3c87cc9403b5b4c
tree18d11b5509d0874a8ea698e5759faac552eba75d
parent8709dc071323eb47be12f0929efe9e0741e9ef30
nir: Add opcodes to extract bytes or words.

The uint versions zero extend while the int versions sign extend.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_opt_algebraic.py