mesa/src/amd
Rhys Perry 56345b8c61 aco: allow reading/writing upper halves/bytes when possible
Use SDWA, opsel or a different opcode to achieve this.

shader-db (Navi, fp16 enabled):
Totals from 42 (0.03% of 127638) affected shaders:
VGPRs: 3424 -> 3416 (-0.23%)
CodeSize: 811124 -> 811984 (+0.11%); split: -0.12%, +0.23%
Instrs: 156638 -> 155733 (-0.58%)
Cycles: 1994180 -> 1982568 (-0.58%); split: -0.59%, +0.00%
VMEM: 7019 -> 7187 (+2.39%); split: +3.45%, -1.05%
SMEM: 1771 -> 1770 (-0.06%); split: +0.06%, -0.11%
VClause: 1477 -> 1475 (-0.14%)
Copies: 13216 -> 12406 (-6.13%)
Branches: 5942 -> 5901 (-0.69%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5040>
2020-06-10 15:05:11 +00:00
..
addrlib radeonsi: add support for Sienna Cichlid 2020-06-09 16:17:36 +00:00
common ac/surface: fix epitch when modifying surf_pitch 2020-06-10 09:11:23 +00:00
compiler aco: allow reading/writing upper halves/bytes when possible 2020-06-10 15:05:11 +00:00
llvm ac/nir: fix integer comparisons with pointers 2020-06-10 08:18:22 +00:00
registers radeonsi: implement R9G9B9E5 render target and image store support on gfx10.3 2020-06-09 16:17:36 +00:00
vulkan radv/aco: enable shaderInt8 and VK_KHR_shader_float16_int8 on GFX6-GFX7 2020-06-09 21:25:38 +00:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk radeonsi: Define gfx10_format in the common header. 2020-06-03 00:17:00 +00:00
Android.compiler.mk android: aco: fix PIPE_FORMAT related building errors 2020-03-04 22:25:36 +01:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources radeonsi: Define gfx10_format in the common header. 2020-06-03 00:17:00 +00:00
meson.build amd: Move all amd/common code that depends on LLVM to amd/llvm. 2019-10-08 00:44:08 +00:00