r600/sfn: Make use of four clause local registers
authorGert Wollny <gert.wollny@collabora.com>
Mon, 7 Aug 2023 13:10:26 +0000 (15:10 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Sep 2023 15:14:19 +0000 (15:14 +0000)
commit16bef14dd4fb1e5ed3d3aba86fc55de6299d6311
tree79ffd572a4e66f1faca17a83deb69ae465ac4390
parentc9739e8912286a212359f3a5a4f958c6165ce2cc
r600/sfn: Make use of four clause local registers

The hardware is actually configures like this, but for fma64
we have to sacrifice a "normal" register to allocate z and w
channels, even though the result written there is not used.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24638>
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/sfn/sfn_alu_defines.h
src/gallium/drivers/r600/sfn/sfn_assembler.cpp
src/gallium/drivers/r600/sfn/sfn_ra.cpp
src/gallium/drivers/r600/sfn/sfn_valuefactory.h