aboutsummaryrefslogtreecommitdiff
path: root/gcc/reorg.c
AgeCommit message (Collapse)AuthorFilesLines
1998-01-25sparc.c (output_cbranch): Add default case in enumeration switch.Kaveh R. Ghazi1-35/+44
* config/sparc/sparc.c (output_cbranch): Add default case in enumeration switch. * reorg.c (insn_sets_resource_p): Correct typo in prototype. (emit_delay_sequence): Eliminate unused parameter, all callers changed. (fill_simple_delay_slots): Likewise. (fill_slots_from_thread): Likewise. (fill_eager_delay_slots): Likewise. (mark_referenced_resources): Add default case in enumeration switch. (mark_set_resources): Likewise. (rare_destination): Likewise. (mostly_true_jump): Likewise. (find_dead_or_set_registers): Likewise. (redirect_with_delay_slots_safe_p): Remove unused variable `slots'. (update_reg_unused_notes): Remove unused variable `p'. (mark_target_live_regs): Remove unused variables `next' and `jump_count'. (fill_simple_delay_slots): Remove unused variable `j'. (fill_slots_from_thread): Add parentheses around assignment used as truth value. (dbr_schedule): Likewise. From-SVN: r17475
1998-01-17reorg.c: #include "expr.h" for rtx prototypes.Lee Iverson1-0/+1
* reorg.c: #include "expr.h" for rtx prototypes. * Makefile.in (reorg.o): Depend on expr.h. From-SVN: r17393
1998-01-14alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO...Richard Henderson1-20/+21
* alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO; change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...). * caller-save.c, calls.c, combine.c, cse.c: Likewise. * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise. * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise. * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise. * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise. * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise. * unroll.c, varasm.c: Likewise. * config/alpha/alpha.c, config/alpha/alpha.md: Likewise. From-SVN: r17357
1997-11-02Update mainline egcs to gcc2 snapshot 971021.Jeff Law1-1/+1
From-SVN: r16278
1997-09-23reorg.c (dbr_schedule): At end of this pass...David S. Miller1-0/+17
* reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED note holding get_jump_flags() calculation to all JUMP_INSNs. * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA. * rtl.c (reg_note_name): Add new note types. From-SVN: r15670
1997-08-27reorg.c (dbr_schedule): Allow current_function_return_rtx to be something ↵Jeffrey A Law1-2/+1
other than a REG. * reorg.c (dbr_schedule): Allow current_function_return_rtx to be something other than a REG. * function.c (expand_function_end): Fix current_function_return_rtx if it was a pseudo. Brought over from the fsf/devo. From-SVN: r14972
1997-07-17(mark_target_live_regs): Pass FIRST_PSEUDO_REGISTER to call toRichard Kenner1-9/+10
EXECUTE_IF_SET_IN_REG_SET. From-SVN: r14466
1997-07-14(mark_target_live_regs): Delete unused variables.Richard Kenner1-2/+1
From-SVN: r14425
1997-07-01(redundant_insn): If INSN or possible match has REG_UNUSED note, don'tRichard Kenner1-2/+9
have match. From-SVN: r14370
1997-06-12reorg.c (emit_delay_sequence): Call set_new_first_and_last_insn after the ↵Jeff Law1-4/+11
new sequence insn has been spliced... * reorg.c (emit_delay_sequence): Call set_new_first_and_last_insn after the new sequence insn has been spliced into the insn chain. From-SVN: r14229
1997-06-05Remove CYGNUS LOCAL stuff.Michael Meissner1-9/+0
From-SVN: r14151
1997-06-05Fix urgent bugMichael Meissner1-0/+9
From-SVN: r14150
1997-06-05Fix typo in last change.Jeff Law1-1/+0
From-SVN: r14149
1997-06-05abstract regset stuff into macrosMichael Meissner1-19/+11
From-SVN: r14147
1997-03-28reorg.c (mostly_true_jump): Use REG_BR_PROB notes when ↵Doug Evans1-0/+20
flag_branch_probabilities. * reorg.c (mostly_true_jump): Use REG_BR_PROB notes when flag_branch_probabilities. From-SVN: r13819
1997-01-03(fill_slots_from_thread): Skip moved insn in all three cases.Richard Kenner1-1/+13
From-SVN: r13355
1996-12-12reorg.c (fill_slots_from_thread): Don't call eligible_for_delay with an insn ↵Jeff Law1-1/+4
with asm operands. * reorg.c (fill_slots_from_thread): Don't call eligible_for_delay with an insn with asm operands. From-SVN: r13297
1996-08-21flow.c (life_analysis): Preserve registers used by the epilogue.Mike Stump1-1/+13
* flow.c (life_analysis): Preserve registers used by the epilogue. (mark_used_regs): Likewise. * reorg.c (fill_simple_delay_slots): Likewise. (dbr_schedule): Likewise. Fixes eh49.C for sparc. From-SVN: r12666
1996-07-03formatting tweaksMike Stump1-8/+9
From-SVN: r12390
1996-05-20reorg.c (relax_delay_slots): Call update_block before redirecting a branch ↵Jeff Law1-5/+14
past a redundant insn. * reorg.c (relax_delay_slots): Call update_block before redirecting a branch past a redundant insn. From-SVN: r12060
1996-04-15(find_dead_or_set_registers): Only kill spill regs after label madeRichard Kenner1-5/+12
before jump2. From-SVN: r11778
1996-01-24(find_dead_or_set_registers): New function.Jim Wilson1-78/+220
(mark_target_live_regs): Delete loop looking forward from target and instead call find_dead_or_set_registers. (fix_reg_dead_note): New function. (fill_slots_from_thread): Call it. From-SVN: r11091
1996-01-15(mark_referenced_resources, case TRAP_IF): Set volatil.Richard Kenner1-1/+2
From-SVN: r10980
1995-12-31reorg.c (fill_simple_delay_slots): Try to fill from the target of an ↵Jeff Law1-1/+14
unconditional branch if necessary. * reorg.c (fill_simple_delay_slots): Try to fill from the target of an unconditional branch if necessary. From-SVN: r10920
1995-09-15(fill_simple_delay_slots): When filling an insn's delay slot with a JUMP_INSN...Richard Kenner1-3/+15
(fill_simple_delay_slots): When filling an insn's delay slot with a JUMP_INSN, don't assume the JUMP_INSN immediately follows the insn on the unfilled slots obstack. From-SVN: r10362
1995-09-15(fill_slots_from_thread): Update thread if it is split.Richard Kenner1-0/+2
From-SVN: r10359
1995-08-28Fix spelling errors.Richard Kenner1-2/+2
From-SVN: r10289
1995-07-14(fill_simple_delay_slots): When trying to take instruction from after the ↵Richard Kenner1-38/+10
branch, don't continue past target label. (fill_simple_delay_slots): When trying to take instruction from after the branch, don't continue past target label. Local variables passed_label and target_uses are no longer necessary. From-SVN: r10121
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9964
1995-06-12(fill_simple_delay_slots): Set MAYBE_NEVER according to code ofRichard Kenner1-2/+2
TRIAL_DELAY, not TRIAL. From-SVN: r9933
1995-05-31(struct resources): New field unch_memory.Richard Kenner1-3/+11
(CLEAR_RESOURCES, mark_target_live_regs, dbr_schedule): Clear it. (mark_{referenced,set}_resources, redundant_insn): Set it. (fill_simple_delay_slots): Likewise. (resource_conflicts_p): Test it. From-SVN: r9860
1995-04-04reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN a the target of ↵Jeff Law1-1/+4
another JUMP_INSN to fill a delay slot. * reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN a the target of another JUMP_INSN to fill a delay slot. From-SVN: r9312
1995-03-29(mark_referenced_resources): Make setjmp use all registers.Jim Wilson1-0/+14
From-SVN: r9248
1995-03-10(steal_delay_list_from_target): Exit at the top if theJim Wilson1-3/+8
branch in SEQ is not a single set. From-SVN: r9158
1995-02-24(relax_delay_slots): When searching for next CODE_LABEL,Jim Wilson1-1/+6
use next_real_insn not next_active_insn. From-SVN: r9075
1995-01-07Fix up copyright notice.Richard Kenner1-1/+1
From-SVN: r8726
1995-01-07(dbr_schedule): Add missing casts in bzero call.Richard Kenner1-5/+6
From-SVN: r8725
1994-12-28(fill_simple_delay_slots): For the epilogue case...Jim Wilson1-1/+20
(fill_simple_delay_slots): For the epilogue case, set needed to include frame pointer and stack pointer, don't include all of end_of_function_needs. Reject insn if it sets a previously set resource. From-SVN: r8698
1994-12-05Delete this patch:Doug Evans1-14/+1
* reorg.c (fill_slots_from_thread): Create a USE insn for any redundant insn we pretend to fill a delay slot with. Continue searching for a suitable delay slot insn at the new USE insn. From-SVN: r8605
1994-11-30reorg.c (fill_slots_from_thread): Create a USE insn for any redundant insn ↵Jeff Law1-1/+14
we pretend to fill a delay slot with. * reorg.c (fill_slots_from_thread): Create a USE insn for any redundant insn we pretend to fill a delay slot with. Continue searching for a suitable delay slot insn at the new USE insn. From-SVN: r8595
1994-11-15(relax_delay_slots): When invert a conditional jump over a single ↵Richard Kenner1-0/+11
unconditional jump... (relax_delay_slots): When invert a conditional jump over a single unconditional jump, invert the INSN_FROM_TARGET_P bit of insns in the delay slots. From-SVN: r8452
1994-11-15(redundant_insn): Renamed from redundant_insn_p; all callers changed.Richard Kenner1-10/+9
From-SVN: r8447
1994-11-15(redundant_insn_p): Change return type to rtx.Richard Kenner1-6/+39
(redundant_insn_p): Change return type to rtx. Return the redundant insn instead of true. (update_reg_unused_notes): New function. (fill_slots_from_thread): Call update_reg_unused_notes after one of the redundant_insn_p calls. From-SVN: r8446
1994-10-31(mark_set_resources): Properly handle SUBREGs.Richard Kenner1-0/+16
From-SVN: r8364
1994-10-25(fill_slots_from_thread): Update THREAD if it is split.Jim Wilson1-0/+2
From-SVN: r8337
1994-10-06(try_merge_delay_insns): Update THREAD if it is split.Richard Kenner1-0/+3
From-SVN: r8226
1994-10-05(try_merge_delay_insns): Update THREAD if deleting first insn in it.Richard Kenner1-0/+3
From-SVN: r8221
1994-10-02Complete last change.Richard Kenner1-1/+5
From-SVN: r8207
1994-10-02(fill_slots_from_thread): Update THREAD if deleting its first insn.Richard Kenner1-0/+3
From-SVN: r8203
1994-07-01reorg.c (make_return_insns): Make sure redirecting a jump to a RETURN insn ↵Jeff Law1-2/+7
does not invalidate the delay... * reorg.c (make_return_insns): Make sure redirecting a jump to a RETURN insn does not invalidate the delay slots of the jump. From-SVN: r7639