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  <meiss...@linux.ibm.com>

        * config/rs6000/predicates.md (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
        rs6000_prefixed_address_mode_p.

Index: gcc/config/rs6000/predicates.md
===================================================================
--- gcc/config/rs6000/predicates.md     (revision 273786)
+++ gcc/config/rs6000/predicates.md     (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.  */
 
 bool
-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
                               | ADDR_VALIDATE_PCREL_LOCAL);

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

Reply via email to