Bernd Schmidt
8e2f6e35ba
combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg.
...
* combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg. All
callers changed.
(try_combine): Don't update max_scratch.
* flow.c (max_scratch, num_scratch): Delete variables.
(life_analysis_1): Don't initialize max_scratch.
(propagate_block): Don't update max_scratch.
(mark_set_1): Don't increment num_scratch.
* regs.h (max_scratch): Delete declaration.
From-SVN: r23172
1998-10-19 03:47:55 -06:00
Bernd Schmidt
34f89b5f68
global.c (global_alloc): Delete code to manage the scratch_list.
...
* global.c (global_alloc): Delete code to manage the scratch_list.
* local-alloc.c (qty_scratch_rtx): Delete.
(scratch_block): Delete.
(scratch_list): Delete.
(scratch_list_length): Delete.
(scratch_index): Delete.
(alloc_qty_for_scratch): Delete.
(local-alloc): Update initialization of max_qty.
Delete code to manage the scratch list.
Delete code to allocate/initialize qty_scratch_rtx.
(block_alloc): Don't allocate quantities for scratches.
Delete code to manage the scratch list.
* regs.h (scratch_list): Delete declaration.
(scratch_block): Delete declaration.
(scratch_list_length): Delete declaration.
* reload1.c (reload): Delete code to manage the scratch list.
(spill_hard_reg): Likewise.
(mark_scratch_live): Delete.
From-SVN: r22751
1998-10-02 04:21:20 -06:00
Michael Hayes
1e326708e8
regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
...
* regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
* local-alloc.c (find_free_reg): Use it.
* global.c (find_reg): Likewise.
* tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.
From-SVN: r22688
1998-09-30 12:09:47 -06:00
Jeff Law
8d5c8167c9
regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
...
* regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
* caller-save.c (init_caller_save): Use it.
* tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.
From-SVN: r22682
1998-09-30 11:21:12 -06:00
Michael Meissner
6feacd0954
Switch reg_n_info structure to use varrays
...
From-SVN: r20894
1998-07-02 13:49:34 +00:00
Michael Meissner
a494747c2b
acconfig.h (ENABLE_CHECKING): Undefine.
...
* acconfig.h (ENABLE_CHECKING): Undefine.
* configure.in (--enable-checking): New option.
* flow.c (reg_n_max): New global variable.
* regclass.c (allocate_reg_info): Keep reg_n_max up to date.
Delete regno_max variable.
* regs.h (REG_N_CHECK): Define.
(REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
(REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
(REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
From-SVN: r19708
1998-05-13 05:57:25 -06:00
Jeff Law
31031eddac
dummy commit before merge
...
From-SVN: r18980
1998-04-03 09:37:26 -07:00
Michael Meissner
39379e67c7
Widen some short fields to int; Use allocate_reg_info to allocate the reg_renumber array
...
From-SVN: r14142
1997-06-02 22:05:38 +00:00
Michael Meissner
b1f21e0aef
Use accessor macros to access arrays based on regno; move many of the arrays into a single structure.
...
From-SVN: r14140
1997-05-30 18:19:19 +00:00
Richard Earnshaw
aacd9b3f6f
regs.h (regno_pointer_align, [...]): Delete from here...
...
* regs.h (regno_pointer_align, REGNO_POINTER_ALIGN): Delete from
here...
* rtl.h (regno_pointer_align, REGNO_POINTER_ALIGN): ... and put
them here.
From-SVN: r11140
1996-01-31 14:45:20 +00:00
Jeff Law
6cad67d2d0
hard-reg-set.h (losing_caller_save_reg_set): Declare.
...
* hard-reg-set.h (losing_caller_save_reg_set): Declare.
* regclass.c (losing_caller_save_reg_set): Define.
(init_reg_sets_1): Initialize losing_caller_save_reg_set.
* global.c (find_reg): Avoid caller-saving registers in
LOSING_CALLER_SAVE_REGS if it's defined.
* local-alloc.c (find_free_reg): Avoid caller-saving registers
in losing_caller_save_reg_set.
(CLASS_LIKELY_SPILLED_P): Delete definition. Moved into regs.h.
* regs.h (CLASS_LIKELY_SPILLED_P): Define if not already defined.
From-SVN: r10926
1995-12-31 19:32:57 -07:00
Richard Kenner
40f954f62b
(reg_rtx_no, regno_pointer_{flag_length,align): New decls.
...
(REGNO_POINTER_ALIGN): New macro.
From-SVN: r10866
1995-12-27 15:21:34 -05:00
Richard Kenner
e99215a3b5
Update FSF address.
...
From-SVN: r9964
1995-06-15 08:04:37 -04:00
Richard Kenner
9faa82d8c0
Fix typos in comments.
...
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Richard Kenner
ffceec83e4
(reg_changes_size): Add declaration.
...
From-SVN: r7863
1994-08-07 08:50:40 -04:00
Doug Evans
04569dfb3d
(reg_raw_mode): Declare.
...
From-SVN: r7083
1994-04-20 03:33:09 +00:00
Richard Stallman
2cb547d84f
(regno_last_note_uid): Declared.
...
From-SVN: r5728
1993-10-11 07:02:30 +00:00
Richard Kenner
a65b6597c4
(scratch_list, scratch_block, scratch_list_length): New vars.
...
From-SVN: r4711
1993-06-23 07:45:47 -04:00
Jim Wilson
cfb2c0b179
Change global-alloc.c to global.c.
...
From-SVN: r2537
1992-10-20 14:15:03 -07:00
Charles Hannum
819817b9ff
entered into RCS
...
From-SVN: r1258
1992-06-24 02:59:40 +00:00
Richard Kenner
c3bcc8368c
Initial revision
...
From-SVN: r41
1991-09-23 22:25:58 -04:00