2019-07-18 Michael Meissner <meissner@linux.ibm.com>
+ * config/rs6000/predicates.md (prefixed_mem_operand): Call
+ rs6000_prefixed_address_mode_p instead of rs6000_prefixed_address.
+ * config/rs6000/rs6000-protos.h (rs6000_prefixed_address_mode_p):
+ Rename function from rs6000_prefixed_address.
* config/rs6000/aix.h (TARGET_HAS_TOC): Rename TARGET_TOC to
TARGET_HAS_TOC.
(TARGET_TOC): Likewise.
(output_toc): Use TARGET_NO_TOC_OR_PCREL instead of
TARGET_NO_TOC.
(rs6000_can_eliminate): Likewise.
+ (rs6000_prefixed_address_mode_p): Rename function from
+ rs6000_prefixed_address.
* config/rs6000/rs6000.h (TARGET_TOC): Define in terms of
TARGET_HAS_TOC and not pc-relative.
(TARGET_NO_TOC_OR_PCREL): New macro to replace TARGET_NO_TOC.
(define_predicate "prefixed_mem_operand"
(match_code "mem")
{
- return rs6000_prefixed_address (XEXP (op, 0), GET_MODE (op));
+ return rs6000_prefixed_address_mode_p (XEXP (op, 0), GET_MODE (op));
})
;; Return 1 if op is a memory operand to an external variable when we
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 (rtx, machine_mode);
+extern bool rs6000_prefixed_address_mode_p (rtx, machine_mode);
#endif /* RTX_CODE */
#ifdef TREE_CODE
mode MODE. */
bool
-rs6000_prefixed_address (rtx addr, machine_mode mode)
+rs6000_prefixed_address_mode_p (rtx addr, machine_mode mode)
{
if (!TARGET_PREFIXED_ADDR || !mode_supports_prefixed_address_p (mode))
return false;