mesa/src
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
..
amd nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
broadcom nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
compiler nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
egl egl: add missing #include <stddef.h> in egldevice.h 2018-11-28 11:22:47 -08:00
freedreno nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
gallium nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
gbm meson: Add tests to suites 2018-11-20 09:09:22 -08:00
getopt
glx glx: Fix compilation with GLX_USE_WINDOWSGL 2018-12-15 13:49:24 +00:00
gtest meson: hide warnings from external project gtest 2018-10-31 18:20:25 +00:00
hgl
intel nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
loader loader: free error state, when checking the drawable type 2018-12-10 16:19:55 +00:00
mapi glapi: fixup EXT_multisampled_render_to_texture dispatch 2018-12-10 15:09:07 -08:00
mesa nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
util util/hash_table: Add _mesa_hash_table_init function 2018-12-16 14:39:56 -08:00
vulkan vulkan: Update the XML and headers to 1.1.96 2018-12-17 10:41:56 -06:00
Makefile.am freedreno: move drm to common location 2018-11-27 15:44:02 -05:00
meson.build freedreno: move drm to common location 2018-11-27 15:44:02 -05:00
SConscript