]> gcc.gnu.org Git - gcc.git/commit
GCN: Don't hard-code number of SGPR/VGPR/AVGPR registers
authorThomas Schwinge <tschwinge@baylibre.com>
Wed, 31 Jan 2024 10:56:59 +0000 (11:56 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 1 Feb 2024 15:13:28 +0000 (16:13 +0100)
commita5eb246e04d08ee6d7de06a2389fc3b541ecdde9
tree1a349b7be2d5b90d37272f21b6e13f7223171cd2
parent019dc63819befb2b82077fb2d76b5dd670946f36
GCN: Don't hard-code number of SGPR/VGPR/AVGPR registers

Also add 'STATIC_ASSERT's for number of SGPR/VGPR/AVGPR registers (in
'#ifndef USED_FOR_TARGET', as otherwise 'STATIC_ASSERT' isn't available).

gcc/
* config/gcn/gcn.cc (gcn_hsa_declare_function_name): Don't
hard-code number of SGPR/VGPR/AVGPR registers.
* config/gcn/gcn.h: Add a 'STATIC_ASSERT's for number of
SGPR/VGPR/AVGPR registers.
gcc/config/gcn/gcn.cc
gcc/config/gcn/gcn.h
This page took 0.062646 seconds and 6 git commands to generate.