This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH], PowerPC #15, Rename some prefixed addressing functions

This is patch #15, and it shortens some of the previous names that I had
created.  The motavation by making the names smaller is make the ChangeLog
files either to write with the 79 character limit.

I have done a bootstrap on a little endian power8 system, and there were no
regressions in the test suite.  Can I check this into the FSF trunk?

2019-07-25  Michael Meissner  <>

	* config/rs6000/ (prefixed_mem_operand): Rename
	rs6000_prefixed_address_mode_p to prefixed_addr_mode_p.
	* config/rs6000/rs6000-protos.h (prefixed_addr_mode_p): Rename
	from rs6000_prefixed_address_mode_p.
	* config/rs6000/rs6000.c (prefixed_addr_mode_p): Rename from

Index: gcc/config/rs6000/
--- gcc/config/rs6000/	(revision 273786)
+++ gcc/config/rs6000/	(working copy)
@@ -1666,7 +1666,7 @@
 (define_predicate "prefixed_mem_operand"
   (match_code "mem")
-  return rs6000_prefixed_address_mode_p (XEXP (op, 0), GET_MODE (op));
+  return prefixed_addr_mode_p (XEXP (op, 0), GET_MODE (op));
 ;; Return 1 if op is a memory operand to an external variable when we
Index: gcc/config/rs6000/rs6000-protos.h
--- gcc/config/rs6000/rs6000-protos.h	(revision 273786)
+++ gcc/config/rs6000/rs6000-protos.h	(working copy)
@@ -173,7 +173,7 @@
 extern void rs6000_split_logical (rtx [], enum rtx_code, bool, bool, bool);
 extern bool rs6000_pcrel_p (struct function *);
 extern bool rs6000_fndecl_pcrel_p (const_tree);
-extern bool rs6000_prefixed_address_mode_p (rtx, machine_mode);
+extern bool prefixed_addr_mode_p (rtx, machine_mode);
 #endif /* RTX_CODE */
 #ifdef TREE_CODE
Index: gcc/config/rs6000/rs6000.c
--- gcc/config/rs6000/rs6000.c	(revision 273786)
+++ gcc/config/rs6000/rs6000.c	(working copy)
@@ -13851,7 +13851,7 @@
    mode MODE.  */
-rs6000_prefixed_address_mode_p (rtx addr, machine_mode mode)
+prefixed_addr_mode_p (rtx addr, machine_mode mode)
   const unsigned addr_flags = (ADDR_VALIDATE_REG_34BIT

Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email:, phone: +1 (978) 899-4797

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]