pan/midgard: Introduce invert field
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 26 Jul 2019 18:15:31 +0000 (11:15 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 26 Jul 2019 20:38:41 +0000 (13:38 -0700)
commit159abd527ec191e8274876162b30079c4ea39600
treeb66297d95bdf5715b1a02141dc3ca564ea032295
parent9beb3391b5500b17c860356facab9fcff032693b
pan/midgard: Introduce invert field

This will enable us to fuse inverts in various ways. Marginal hurt:

total instructions in shared programs: 3610 -> 3611 (0.03%)
instructions in affected programs: 67 -> 68 (1.49%)
helped: 0
HURT: 1

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/meson.build
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_opt_invert.c [new file with mode: 0644]
src/panfrost/midgard/mir.c