[gcc r16-9455] rs6000: Add dense math register names in darwin.h
Avinash Jayakar
avinashd@gcc.gnu.org
Thu Jul 30 06:38:17 GMT 2026
https://gcc.gnu.org/g:acea9c77d0f9ded41ec18006dd75097c7187248f
commit r16-9455-gacea9c77d0f9ded41ec18006dd75097c7187248f
Author: Avinash Jayakar <avinashd@linux.ibm.com>
Date: Wed Jul 29 12:40:57 2026 +0530
rs6000: Add dense math register names in darwin.h
Darwin maintains a separate array of register_names where the Dense Math
Registers were not added. This caused an ICE when building the darwin
cross compiler as reported in PR126438. This patch adds dense math
registers to the REGISTER_NAMES array to fix this issue.
2026-07-29 Avinash Jayakar <avinashd@linux.ibm.com>
gcc/ChangeLog:
PR target/126438
* config/rs6000/darwin.h (REGISTER_NAMES): Add dmf registers.
(cherry picked from commit e5587abccc1e0281ac85c37ca42faa97a4d0ea55)
Diff:
---
gcc/config/rs6000/darwin.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index 4717fb0d336f..cdc3c2f56e1e 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -295,7 +295,9 @@
/* cr0..cr7 */ \
"cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", \
/* vrsave vscr sfp */ \
- "vrsave", "vscr", "sfp" \
+ "vrsave", "vscr", "sfp", \
+ /* DMRs */ \
+ "dm0", "dm1", "dm2", "dm3", "dm4", "dm5", "dm6", "dm7" \
}
/* This outputs NAME to FILE. */
More information about the Gcc-cvs
mailing list