Jim Wilson [Fri, 1 Apr 1994 00:48:24 +0000 (16:48 -0800)]
(mips_rtx_classify, md_register_operand,
fpsw_register_operand, cmp2_op, uns_cmp_op, fcmp_op): Delete.
(mips_const_double_ok, mips_fill_delay_slot, output_block_move,
print_operand, function_epilogue): Don't treat gas differently
than native assembler.
(equality_op, cmp_op): Delete use of classify_op.
(override_options): Delete uses of mips_rtx_classify.
(final_prescan_insn): Simplify based on other changes.
Jim Wilson [Fri, 1 Apr 1994 00:47:52 +0000 (16:47 -0800)]
(mips_rtx_classify, cmp2_op, fcmp_op,
fpsw_register_operand, md_register_operand, uns_cmp_op,
classify_op, additive_op, divmod_op, unsigned_op, CLASS_*_OP,
NOTICE_UPDATE_CC): Delete.
(RTX_COSTS): Use different numbers for R3000/R6000/R4000.
(REGISTER_MOVE_COST): Use cost of 2 within same register class, 4
for FP to GR copy, 6 otherwise.
(ADJUST_COST): Give anti and output dependencies zero cost.
(PREDICATE_CODES): Delete obsolete functions from list.
Richard Kenner [Wed, 30 Mar 1994 22:30:32 +0000 (17:30 -0500)]
(FUNCTION_PROLOGUE): use __GLOBAL_OFFSET_TABLE_, not _GLOBAL_OFFSET_TABLE_.
(LEGITIMATE_CONSTANT_P, LEGITIMATE_PIC_OPERAND_P): Use
LEGITIMATE_PIC_OPERAND_P, not LEGITIMATE_CONSTANT_P,
to set current_function_uses_pic_offset_table.
(INDIRECTABLE_1_ADDRESS_P): Baseregisters are not legal
for {LABEL,SYMBOL}_REFS when emitting pic.
(GO_IF_INDEXABLE_ADDRESS): INDIRECTABLE_1_ADDRESSes are indexable too.
Richard Kenner [Wed, 30 Mar 1994 22:30:05 +0000 (17:30 -0500)]
(global_symbolic_reference_mentioned_p): New parameter F.
(print_operand_address): When generating pic baseregisters are only
allowed if offset is CONST_INT. For {SYMBOL,LABEL}_REF a indexregister
has to be used instead. (sb) is no longer emitted for constant
absolute addresses. (output_move_double): Use CONSTANT_P instead of
CONSTANT_ADDRESS_P.
Richard Kenner [Fri, 25 Mar 1994 19:18:28 +0000 (14:18 -0500)]
(clear_units): Remove decl of unused variable UNIT.
(actual_hazard_this_instance): Remove decl of unused variable I.
(actual_hazard): Remove two block-scope decls of unused variable BEST.
(sched_analyze_1): Remove decls of unused variables OFFSET and BIT.
(sched_analyze): Remove decl of unused variable DEST.
(sched_note_set): Remove decl of unused variable J.
(create_reg_dead_note): Remove decl of unused variable BACKLINK.
(new_sometimes_live): Remove decl of unused variable I.
(schedule_block): Remove decls of unused variables LAST_NOTE and REGNO.
(schedule_insns): Remove decls of unused variables I and INSNS.
Richard Kenner [Fri, 25 Mar 1994 19:16:16 +0000 (14:16 -0500)]
(init_loop): Remove decls of unused variables.
(loop_optimize): Remove decl of unused variable END.
(combine_movables): Remove decls of unused variables.
(check_final_value): Remove decl of unused variable TEM.
(check_dbra_loop): Remove decls of unused variables.
(maybe_eliminate_biv): Remove decls of unused variables SET and V.
Jim Wilson [Wed, 23 Mar 1994 00:03:38 +0000 (16:03 -0800)]
(movsi): Add special handling for constants which are illegal addresses when pic.
(movsi): Add special handling for constants which are
illegal addresses when pic.
(tablejump_internal1, tablejump_internal2): Emit .cpadd when
TARGET_ABICALLS. Adjust length to include .cpadd.
Jim Wilson [Wed, 23 Mar 1994 00:03:04 +0000 (16:03 -0800)]
(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG plus CONST_INT addresses by deleting an else.
(GO_IF_LEGITIMATE_ADDRESS): Also pretend that we have REG
plus CONST_INT addresses by deleting an else.
(CONSTANT_ADDRESS_P): When pic, don't accept addresses which are
symbol_ref plus a large integer.
(LEGITIMATE_PIC_OPERAND_P): Likewise.
(LEGITIMIZE_ADDRESS): When pic, convert addresses which are
symbol_reg plus a large integer, to reg plus a large integer.
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .gpword instead of subtracting
labels.
Jim Wilson [Tue, 22 Mar 1994 23:57:28 +0000 (15:57 -0800)]
(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when TARGET_ABICALLS.
(TRAMPOLINE_TEMPLATE): Add `move $25,$3' for when
TARGET_ABICALLS. Delete padding for 64 bit case. Adjust offsets.
(TRAMPOLINE_SIZE): Increase from 9 to 10 words for 32 bit case.
(INITIALIZE_TRAMPOLINE): Increase offsets by 4 bytes for 32 bit case.
Richard Kenner [Mon, 21 Mar 1994 12:36:48 +0000 (07:36 -0500)]
(FIXED_REGNO_P): Treate global regs as fixed.
(CHEAP_REGNO): Renamed from CHEAP_REG.
(CHEAP_REG): New macro; user var in hard reg is cheap.
(COST): Pass RTL to CHEAP_REG, not regno.
(rtx_cost, case REG): Likewise.
Richard Kenner [Sun, 20 Mar 1994 22:42:01 +0000 (17:42 -0500)]
(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a quadword boundary...
(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a
quadword boundary, to avoid alignment problems with native nm on
OSF1/1.3 and higher.