mesa/src/amd
Timur Kristóf aabe9d2f6e aco: Eliminate SALU comparison when SCC can be used instead.
For example:

s0, scc = s_and_u32 ...
scc = s_cmp_eq_u32 s0, 0
p_cbranch_sccz

is turned into:

s0, scc = s_and_u32 ...
p_cbranch_sccnz

Fossil DB results on Sienna Cichlid:

Totals from 85267 (56.91% of 149839) affected shaders:
CodeSize: 202539256 -> 202237268 (-0.15%)
Instrs: 38964493 -> 38888996 (-0.19%)
Latency: 750062328 -> 749913450 (-0.02%); split: -0.02%, +0.00%
InvThroughput: 167408952 -> 167405157 (-0.00%)

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7779>
2021-05-28 12:14:53 +00:00
..
addrlib amd: fix incorrect addrlib comment for HTILE equations 2021-05-25 16:15:44 +00:00
ci ci: add VKD3D-Proton testsuite job for radv's Navy Flounder 2021-05-25 17:03:25 +00:00
common ac/gpu_info: set has_zero_index_buffer_bug for Navi12 too 2021-05-25 16:15:44 +00:00
compiler aco: Eliminate SALU comparison when SCC can be used instead. 2021-05-28 12:14:53 +00:00
llvm radeonsi: rewrite the prefix sum computation for shader culling 2021-05-25 16:15:44 +00:00
registers amd/registers: regenerate json files without 32-bit register fields 2021-05-25 16:15:44 +00:00
vulkan radv: fix generating hang reports if mutable descriptors are used 2021-05-28 10:53:02 +00:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
Android.addrlib.mk android: amd/addrlib: define endianess to build 2021-03-27 01:54:49 +01:00
Android.common.mk android: amd/common: add nir include path 2021-04-26 23:14:56 +02:00
Android.compiler.mk
Android.mk
Makefile.sources ac: move ac_lower_indirect_derefs() outside of the LLVM dir 2021-04-23 11:52:01 +02:00
meson.build