nvc0/ir: Handle OP_POPCNT when folding constant expressions
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Tue, 3 Jun 2014 22:35:50 +0000 (00:35 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 6 Jun 2014 04:05:11 +0000 (00:05 -0400)
commit4f4e9ba1661528bed8e956a4931ae154e6612824
treebe68b2272ae51e60bd679a17fb3eccdc75e1847d
parentfdc1d96b0ff59e163ed9fe894a1e6d08d4204b94
nvc0/ir: Handle OP_POPCNT when folding constant expressions

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
[imirkin: make sure to only fold 1-arg popcnt in opnd]
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp