mesa/src/broadcom
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
..
cle v3d: Add support for draw indirect for GLES3.1. 2018-12-14 17:48:01 -08:00
clif v3d: Dump the contents off all the buffers in CLIF mode. 2018-07-30 14:29:01 -07:00
common v3d: Emit the VCM_CACHE_SIZE packet. 2018-08-06 13:03:23 -07:00
compiler nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
qpu v3d: Do uniform pretty-printing in the QPU dump. 2018-12-14 17:48:01 -08:00
.editorconfig broadcom: add editorconfig 2017-07-25 14:44:52 -07:00
.gitignore broadcom/vc5: Introduce v3dx_macros.h and v3dx_pack.h headers. 2018-01-12 21:51:40 -08:00
Android.cle.mk android: broadcom/cle: export the broadcom top level path headers 2018-09-15 09:14:46 +02:00
Android.genxml.mk android: broadcom/genxml: fix collision with intel/genxml header-gen macro 2018-09-15 09:14:33 +02:00
Android.mk broadcom/genxml: Introduce a V3D packet/struct decoder. 2017-07-25 14:44:52 -07:00
Makefile.am configure: allow building with python3 2018-10-31 19:15:50 +00:00
Makefile.cle.am broadcom: Fix out-of-tree build include path 2017-10-05 15:03:11 -07:00
Makefile.genxml.am v3d: Merge the V3D 4.1 and 4.2 XML into V3D 3.3'x XML. 2018-06-29 13:36:28 -07:00
Makefile.sources v3d: Implement a small immediates optimization, based on VC4's. 2018-07-23 10:21:43 -07:00
Makefile.v3d.am v3d: Rename the driver files from "vc5" to "v3d". 2018-05-16 21:19:07 +01:00
meson.build vc4: Fix meson build when enabled without v3d. 2018-07-29 19:13:29 -07:00