[gcc r17-2807] rs6000: Add dense math register names in darwin.h
Avinash Jayakar via Gcc-cvs <[email protected]> Thu, 30 Jul 2026 06:27:35 +0000 (GMT)
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:e5587abccc1e0281ac85c37ca42faa97a4d0ea55 commit r17-2807-ge5587abccc1e0281ac85c37ca42faa97a4d0ea55 Author: Avinash Jayakar <[email protected]> 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 <[email protected]> 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. */