mesa/src/compiler
Georg Lehmann 98cc57bccb nir/optimize cmp(a, -0.0)
+0.0 can use an inline constant for AMD hardware,
-0.0 needs a literal.

Foz-DB Navi21:
Totals from 1014 (1.28% of 79395) affected shaders:
Instrs: 3037490 -> 3036849 (-0.02%); split: -0.02%, +0.00%
CodeSize: 17060228 -> 17051276 (-0.05%); split: -0.05%, +0.00%
Latency: 45916788 -> 45916600 (-0.00%); split: -0.00%, +0.00%
InvThroughput: 12982201 -> 12982187 (-0.00%); split: -0.00%, +0.00%
VClause: 79475 -> 79478 (+0.00%)
SClause: 119935 -> 119934 (-0.00%); split: -0.00%, +0.00%
Copies: 301641 -> 300964 (-0.22%); split: -0.23%, +0.00%
PreSGPRs: 59155 -> 59144 (-0.02%)
VALU: 2032016 -> 2032034 (+0.00%)
SALU: 386424 -> 385729 (-0.18%)

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29467>
2024-06-27 08:12:30 +00:00
..
clc clc: remove check for null pointer that cannot be true in llvm_mod_to_spirv 2024-06-21 00:41:28 +00:00
glsl glsl: remove out of date TODO 2024-06-27 01:02:25 +00:00
isaspec isaspec: Improve 'meta' handling 2024-04-26 03:35:13 +00:00
nir nir/optimize cmp(a, -0.0) 2024-06-27 08:12:30 +00:00
spirv treewide: use nir_break_if 2024-06-26 19:07:35 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c glsl_types: derive ht 2024-03-12 19:41:50 +00:00
glsl_types.h compiler/types: Fix glsl_dvec*_type() helpers 2024-03-04 15:22:32 +00:00
meson.build meson: do not pull in clc for clover 2024-02-21 20:53:36 +00:00
shader_enums.c nir: add SYSTEM_VALUE_BASE_WORKGROUP_ID 2024-04-24 20:18:48 +00:00
shader_enums.h compiler: add ACCESS_IN_BOUNDS_AGX 2024-05-14 04:57:25 +00:00
shader_info.h nir/shader_info: remove uses_demote 2024-06-17 19:37:16 +00:00