gm200/ir: add native OP_SQRT support
authorKarol Herbst <kherbst@redhat.com>
Sat, 4 Aug 2018 01:13:11 +0000 (03:13 +0200)
committerKarol Herbst <kherbst@redhat.com>
Sat, 4 Aug 2018 13:24:08 +0000 (15:24 +0200)
commit6f98a3065bce873652e24e3591c3d57192514473
treec05ae4112f57b79cba856053d4fabe91d42641ac
parent4334196ab325c6a19d618a392cddcc9f03adeb18
gm200/ir: add native OP_SQRT support

./GpuTest /test=pixmark_piano 1024x640 30sec:
301 -> 327 points

shader-db:
total instructions in shared programs : 5472103 -> 5456166 (-0.29%)
total gprs used in shared programs    : 647530 -> 647522 (-0.00%)
total shared used in shared programs  : 389120 -> 389120 (0.00%)
total local used in shared programs   : 21064 -> 21064 (0.00%)
total bytes used in shared programs   : 58459304 -> 58288696 (-0.29%)

                local     shared        gpr       inst      bytes
    helped           0           0          27        8281        8281
      hurt           0           0          21         431         431

v2: use NVISA_GM200_CHIPSET

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_gm107.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp