nvc0/ir: add support for emitting partial min/max ops for int64
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 4 Feb 2017 15:55:03 +0000 (10:55 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 9 Feb 2017 17:57:48 +0000 (12:57 -0500)
commiteac5099c11c27aa49901846e254c92a4bd1723e2
tree4deb87b0643659b545d7910028c473fb29e12d5d
parentb090033087d9e00740cec3abb7ff5febf13f20a7
nvc0/ir: add support for emitting partial min/max ops for int64

These operations allow you to compute min/max on arbitrary-width
integers, 32 bits at a time.

Note that the low/med ops implicitly set the condition code, and the
med/high ops implicitly consume it.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir.h
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp