mesa/src/freedreno
Ian Romanick 378f996771 nir/opt_peephole_select: Don't peephole_select expensive math instructions
On some GPUs, especially older Intel GPUs, some math instructions are
very expensive.  On those architectures, don't reduce flow control to a
csel if one of the branches contains one of these expensive math
instructions.

This prevents a bunch of cycle count regressions on pre-Gen6 platforms
with a later patch (intel/compiler: More peephole select for pre-Gen6).

v2: Remove stray #if block.  Noticed by Thomas.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-12-17 13:47:06 -08:00
..
drm freedreno: debug GEM obj names 2018-12-13 15:51:01 -05:00
ir3 nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
.dir-locals.el freedreno: Add .dir-locals to the common directory 2018-12-11 13:14:08 -08:00
Makefile.am freedreno: Fix the Makefile.am fix 2018-12-10 14:28:09 -08:00
Makefile.sources freedreno/ir3: code-motion 2018-12-07 13:49:21 -05:00
meson.build