nv50/ir: make OP_SELP a compare instruction
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 Feb 2016 14:09:07 +0000 (15:09 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 21 Feb 2016 09:42:29 +0000 (10:42 +0100)
commite0371e63df173be38a086a5d816eeaf0e8cbe7eb
tree6f2127b75f65564b5105ce4f642a93039fb57e03
parent0c930557bf96721ce50ca95b5201be09da905cb8
nv50/ir: make OP_SELP a compare instruction

This OP_SELP insn will be used to handle compare and swap subops.

Changes from v2:
 - fix logic for GK110+

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_inlines.h