diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-01-31 11:56:59 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2024-02-01 16:13:28 +0100 |
commit | a5eb246e04d08ee6d7de06a2389fc3b541ecdde9 (patch) | |
tree | 1a349b7be2d5b90d37272f21b6e13f7223171cd2 /gcc/cp | |
parent | 019dc63819befb2b82077fb2d76b5dd670946f36 (diff) | |
download | gcc-a5eb246e04d08ee6d7de06a2389fc3b541ecdde9.zip gcc-a5eb246e04d08ee6d7de06a2389fc3b541ecdde9.tar.gz gcc-a5eb246e04d08ee6d7de06a2389fc3b541ecdde9.tar.bz2 |
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.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions