mesa/src/amd
Georg Lehmann e0818cb87b aco/gfx11+: don't use VOP3 v_swap_b16
v_swap_b16 is not offically supported as VOP3, so it can't be used with v128-255.
Tests show that VOP3 appears to work correctly, but according to AMD that should
not be relied on.

https://github.com/llvm/llvm-project/pull/100442#discussion_r1703929676

Foz-DB Navi31:
Totals from 6 (0.01% of 79395) affected shaders:
Instrs: 64799 -> 65932 (+1.75%)
CodeSize: 360180 -> 368440 (+2.29%)
Latency: 1364648 -> 1365922 (+0.09%)
InvThroughput: 635843 -> 636475 (+0.10%)
Copies: 14766 -> 15698 (+6.31%)
VALU: 38743 -> 39675 (+2.41%)

Fixes: 80b8bbf0c5 ("aco/gfx11: use v_swap_b16")

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30515>
2024-08-06 20:40:12 +00:00
..
addrlib amd: add GFX v11.5.2 support 2024-07-02 12:05:23 +00:00
ci Uprev Piglit to 4a62c26721a47552a96416a134b789a813dd51a6 2024-08-05 10:45:38 +00:00
common ac/surface/gfx12: fix setting tile_swizzle 2024-08-05 19:35:39 +00:00
compiler aco/gfx11+: don't use VOP3 v_swap_b16 2024-08-06 20:40:12 +00:00
drm-shim build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
llvm nir: add nir_intrinsic_load_per_primitive_input, split from io_semantics flag 2024-07-23 16:13:16 +00:00
registers amd: add gfx12 register definitions 2024-05-11 22:14:05 -04:00
vpelib amd/vpelib: support VPE IP v6.1.3 2024-07-02 12:05:23 +00:00
vulkan radv/rt: remove one VALU from traversal loop 2024-07-25 20:24:23 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00