[gcc r17-2807] rs6000: Add dense math register names in darwin.h
Avinash Jayakar
avinashd@gcc.gnu.org
Thu Jul 30 06:27:35 GMT 2026
https://gcc.gnu.org/g:e5587abccc1e0281ac85c37ca42faa97a4d0ea55
commit r17-2807-ge5587abccc1e0281ac85c37ca42faa97a4d0ea55
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.
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 175b6b1c3e08..8614052d8cac 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