rs6000-protos.h: Replace "struct rtx_def *" throughout with its typedef, "rtx".
* config/rs6000/rs6000-protos.h: Replace "struct rtx_def *" throughout with its typedef, "rtx". * config/rs6000/rs6000.c: Likewise. Formatting fixes. (rs6000_tls_symbol_ref_1): Remove inline keyword. * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Formatting. Reorder regs in comment to match code. From-SVN: r96420
This commit is contained in:
parent
8de1fc1b60
commit
9390387dcf
|
@ -1,3 +1,12 @@
|
|||
2005-03-14 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* config/rs6000/rs6000-protos.h: Replace "struct rtx_def *"
|
||||
throughout with its typedef, "rtx".
|
||||
* config/rs6000/rs6000.c: Likewise. Formatting fixes.
|
||||
(rs6000_tls_symbol_ref_1): Remove inline keyword.
|
||||
* config/rs6000/rs6000.h (REG_ALLOC_ORDER): Formatting. Reorder
|
||||
regs in comment to match code.
|
||||
|
||||
2005-03-14 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* except.c (check_handled): Make it static.
|
||||
|
|
|
@ -46,8 +46,8 @@ extern bool legitimate_constant_pool_address_p (rtx);
|
|||
extern bool legitimate_indirect_address_p (rtx, int);
|
||||
extern bool rs6000_legitimate_offset_address_p (enum machine_mode, rtx, int);
|
||||
|
||||
extern struct rtx_def *rs6000_got_register (rtx);
|
||||
extern struct rtx_def *find_addr_reg (rtx);
|
||||
extern rtx rs6000_got_register (rtx);
|
||||
extern rtx find_addr_reg (rtx);
|
||||
extern int word_offset_memref_operand (rtx, enum machine_mode);
|
||||
extern rtx gen_easy_vector_constant_add_self (rtx);
|
||||
extern const char *output_vec_const_move (rtx *);
|
||||
|
@ -83,9 +83,9 @@ extern int rs6000_emit_vector_cond_expr (rtx, rtx, rtx, rtx, rtx, rtx);
|
|||
extern void rs6000_emit_minmax (rtx, enum rtx_code, rtx, rtx);
|
||||
extern void output_toc (FILE *, rtx, int, enum machine_mode);
|
||||
extern void rs6000_initialize_trampoline (rtx, rtx, rtx);
|
||||
extern struct rtx_def *rs6000_longcall_ref (rtx);
|
||||
extern rtx rs6000_longcall_ref (rtx);
|
||||
extern void rs6000_fatal_bad_address (rtx);
|
||||
extern struct rtx_def *create_TOC_reference (rtx);
|
||||
extern rtx create_TOC_reference (rtx);
|
||||
extern void rs6000_split_multireg_move (rtx, rtx);
|
||||
extern void rs6000_emit_move (rtx, rtx, enum machine_mode);
|
||||
extern rtx rs6000_legitimize_address (rtx, rtx, enum machine_mode);
|
||||
|
@ -108,11 +108,10 @@ extern unsigned int rs6000_special_round_type_align (tree, int, int);
|
|||
extern void function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode,
|
||||
tree, int, int);
|
||||
extern int function_arg_boundary (enum machine_mode, tree);
|
||||
extern struct rtx_def *function_arg (CUMULATIVE_ARGS *,
|
||||
enum machine_mode, tree, int);
|
||||
extern rtx function_arg (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
|
||||
extern rtx rs6000_function_value (tree, tree);
|
||||
extern rtx rs6000_libcall_value (enum machine_mode);
|
||||
extern struct rtx_def *rs6000_va_arg (tree, tree);
|
||||
extern rtx rs6000_va_arg (tree, tree);
|
||||
extern int function_ok_for_sibcall (tree);
|
||||
extern void rs6000_elf_declare_function_name (FILE *, const char *, tree);
|
||||
#ifdef ARGS_SIZE_RTX
|
||||
|
|
|
@ -732,7 +732,7 @@ static rtx rs6000_dwarf_register_span (rtx);
|
|||
static rtx rs6000_legitimize_tls_address (rtx, enum tls_model);
|
||||
static rtx rs6000_tls_get_addr (void);
|
||||
static rtx rs6000_got_sym (void);
|
||||
static inline int rs6000_tls_symbol_ref_1 (rtx *, void *);
|
||||
static int rs6000_tls_symbol_ref_1 (rtx *, void *);
|
||||
static const char *rs6000_get_some_local_dynamic_name (void);
|
||||
static int rs6000_get_some_local_dynamic_name_1 (rtx *, void *);
|
||||
static rtx rs6000_complex_function_value (enum machine_mode);
|
||||
|
@ -2924,7 +2924,7 @@ rs6000_tls_referenced_p (rtx x)
|
|||
/* Return 1 if *X is a thread-local symbol. This is the same as
|
||||
rs6000_tls_symbol_ref except for the type of the unused argument. */
|
||||
|
||||
static inline int
|
||||
static int
|
||||
rs6000_tls_symbol_ref_1 (rtx *x, void *data ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return RS6000_SYMBOL_REF_TLS_P (*x);
|
||||
|
@ -4677,7 +4677,7 @@ rs6000_mixed_function_arg (enum machine_mode mode, tree type, int align_words)
|
|||
with MODE and TYPE set to that of the pointer to the arg, not the arg
|
||||
itself. */
|
||||
|
||||
struct rtx_def *
|
||||
rtx
|
||||
function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode,
|
||||
tree type, int named)
|
||||
{
|
||||
|
@ -8975,7 +8975,7 @@ ccr_bit (rtx op, int scc_p)
|
|||
|
||||
/* Return the GOT register. */
|
||||
|
||||
struct rtx_def *
|
||||
rtx
|
||||
rs6000_got_register (rtx value ATTRIBUTE_UNUSED)
|
||||
{
|
||||
/* The second flow pass currently (June 1999) can't update
|
||||
|
@ -15942,7 +15942,7 @@ rs6000_set_default_type_attributes (tree type)
|
|||
/* Return a reference suitable for calling a function with the
|
||||
longcall attribute. */
|
||||
|
||||
struct rtx_def *
|
||||
rtx
|
||||
rs6000_longcall_ref (rtx call_ref)
|
||||
{
|
||||
const char *call_name;
|
||||
|
@ -16097,7 +16097,7 @@ rs6000_elf_in_small_data_p (tree decl)
|
|||
register by this routine since our caller will try to
|
||||
increment the returned register via an "la" instruction. */
|
||||
|
||||
struct rtx_def *
|
||||
rtx
|
||||
find_addr_reg (rtx addr)
|
||||
{
|
||||
while (GET_CODE (addr) == PLUS)
|
||||
|
|
|
@ -958,15 +958,14 @@ extern const char *rs6000_warn_altivec_long_switch;
|
|||
mq (not saved; best to use it if we can)
|
||||
ctr (not saved; when we have the choice ctr is better)
|
||||
lr (saved)
|
||||
cr5, r1, r2, ap, xer, vrsave, vscr (fixed)
|
||||
spe_acc, spefscr (fixed)
|
||||
|
||||
AltiVec registers:
|
||||
cr5, r1, r2, ap, xer (fixed)
|
||||
v0 - v1 (not saved or used for anything)
|
||||
v13 - v3 (not saved; incoming vector arg registers)
|
||||
v2 (not saved; incoming vector arg reg; return value)
|
||||
v19 - v14 (not saved or used for anything)
|
||||
v31 - v20 (saved; order given to save least number)
|
||||
vrsave, vscr (fixed)
|
||||
spe_acc, spefscr (fixed)
|
||||
*/
|
||||
|
||||
#if FIXED_R2 == 1
|
||||
|
@ -996,9 +995,9 @@ extern const char *rs6000_warn_altivec_long_switch;
|
|||
90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, \
|
||||
79, \
|
||||
96, 95, 94, 93, 92, 91, \
|
||||
108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, \
|
||||
97, 109, 110 \
|
||||
, 111, 112 \
|
||||
108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, \
|
||||
109, 110, \
|
||||
111, 112 \
|
||||
}
|
||||
|
||||
/* True if register is floating-point. */
|
||||
|
|
Loading…
Reference in New Issue