]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
GCN: Remove 'FIRST_{SGPR,VGPR,AVGPR}_REG', 'LAST_{SGPR,VGPR,AVGPR}_REG' from machine...
authorThomas Schwinge <tschwinge@baylibre.com>
Wed, 31 Jan 2024 12:27:34 +0000 (13:27 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 1 Feb 2024 11:29:25 +0000 (12:29 +0100)
They're not used there, and we avoid potentially out-of-sync definitions.

gcc/
* config/gcn/gcn.md (FIRST_SGPR_REG, LAST_SGPR_REG)
(FIRST_VGPR_REG, LAST_VGPR_REG, FIRST_AVGPR_REG, LAST_AVGPR_REG):
Don't 'define_constants'.

gcc/config/gcn/gcn.md

index 925e2cea4895155120b232cfdccabfa93bacd7f8..3b51453aacaa8e5de363a4108e5a879c796e68f8 100644 (file)
@@ -23,9 +23,7 @@
 
 ; Named registers
 (define_constants
-  [(FIRST_SGPR_REG              0)
-   (CC_SAVE_REG                         22)
-   (LAST_SGPR_REG               101)
+  [(CC_SAVE_REG                         22)
    (FLAT_SCRATCH_REG            102)
    (FLAT_SCRATCH_LO_REG                 102)
    (FLAT_SCRATCH_HI_REG                 103)
    (EXEC_LO_REG                         126)
    (EXEC_HI_REG                         127)
    (EXECZ_REG                   128)
-   (SCC_REG                     129)
-   (FIRST_VGPR_REG              160)
-   (LAST_VGPR_REG               415)
-   (FIRST_AVGPR_REG             416)
-   (LAST_AVGPR_REG              671)])
+   (SCC_REG                     129)])
 
 (define_constants
   [(SP_REGNUM 16)