public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8687] GCN: Remove 'FIRST_{SGPR, VGPR, AVGPR}_REG', 'LAST_{SGPR, VGPR, AVGPR}_REG' from machine description
@ 2024-02-01 11:32 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2024-02-01 11:32 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:31938936d740f70bede1011a8a7dbc0689b92e69
commit r14-8687-g31938936d740f70bede1011a8a7dbc0689b92e69
Author: Thomas Schwinge <tschwinge@baylibre.com>
Date: Wed Jan 31 13:27:34 2024 +0100
GCN: Remove 'FIRST_{SGPR,VGPR,AVGPR}_REG', 'LAST_{SGPR,VGPR,AVGPR}_REG' from machine description
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'.
Diff:
---
gcc/config/gcn/gcn.md | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/gcc/config/gcn/gcn.md b/gcc/config/gcn/gcn.md
index 925e2cea4895..3b51453aacaa 100644
--- a/gcc/config/gcn/gcn.md
+++ b/gcc/config/gcn/gcn.md
@@ -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)
@@ -49,11 +47,7 @@
(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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-01 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 11:32 [gcc r14-8687] GCN: Remove 'FIRST_{SGPR, VGPR, AVGPR}_REG', 'LAST_{SGPR, VGPR, AVGPR}_REG' from machine description Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).