[gcc(refs/vendors/ibm/heads/dmr-support)] rs6000: Remove regnames for %A

Vijay Telidevulapalli via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:76291a18488f8208344c20e1819d3c6c86e3c734

commit 76291a18488f8208344c20e1819d3c6c86e3c734
Author: Vijay Shankar <[email protected]>
Date:   Tue Jul 14 07:36:56 2026 -0500

    rs6000: Remove regnames for %A
    
    dm prefix is wrong for old mma instructions
    so printing only regnumber

Diff:
---
 gcc/config/rs6000/rs6000.cc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc
index 48337eaeb8d0..57dda92b9759 100644
--- a/gcc/config/rs6000/rs6000.cc
+++ b/gcc/config/rs6000/rs6000.cc
@@ -14258,12 +14258,7 @@ print_operand (FILE *file, rtx x, int code)
 	  if (!REG_P (x) || !DMR_REGNO_P (REGNO (x)))
 	    output_operand_lossage ("invalid %%A value");
 	  else
-#ifdef TARGET_REGNAMES
-	      if (TARGET_REGNAMES)
-		fprintf (file, "%%dm%d", REGNO (x) - FIRST_DMR_REGNO);
-	      else
-#endif
-		fprintf (file, "%d", REGNO (x) - FIRST_DMR_REGNO);
+	    fprintf (file, "%d", REGNO (x) - FIRST_DMR_REGNO);
 	  return;
 	}
       if (!REG_P (x) || !FP_REGNO_P (REGNO (x)) || (REGNO (x) % 4) != 0)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.