aboutsummaryrefslogtreecommitdiff
path: root/gcc/regclass.c
AgeCommit message (Collapse)AuthorFilesLines
1997-07-14(init_reg_sets): Invoke INIT_ONCE_REG_SET.Richard Kenner1-1/+21
(allocate_reg_info): Invoke MAX_REGNO_REG_SET. (regset_release_memory): Free basic_block_live_at_start storage. From-SVN: r14424
1997-06-06Fix off by one errorMichael Meissner1-1/+1
From-SVN: r14167
1997-06-02Widen some short fields to int; Use allocate_reg_info to allocate the ↵Michael Meissner1-12/+59
reg_renumber array From-SVN: r14142
1997-05-30Use accessor macros to access arrays based on regno; move many of the arrays ↵Michael Meissner1-56/+44
into a single structure. From-SVN: r14140
1996-07-03formatting tweaksMike Stump1-2/+2
From-SVN: r12390
1996-01-16(regclass): Remove useless cast.Richard Kenner1-2/+2
From-SVN: r11016
1995-12-31hard-reg-set.h (losing_caller_save_reg_set): Declare.Jeff Law1-0/+5
* 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-17regclass.c (regclass): Use SECONDARY_RELOAD_CLASS if it's defined to avoid ↵Jeff Law1-0/+5
useless work. * regclass.c (regclass): Use SECONDARY_RELOAD_CLASS if it's defined to avoid useless work. * combine.c (find_split_point): Try to split SET_DEST just like we do for SET_SRC. From-SVN: r10790
1995-09-28Fix typo in comment.Richard Kenner1-1/+1
From-SVN: r10413
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9964
1995-05-16Fix typos in comments.Richard Kenner1-2/+2
From-SVN: r9712
1995-04-10(record_reg_classes, case 'E'): Make this work likeTorbjorn Granlund1-0/+2
constraint character `F' when REAL_ARITHMETIC is defined. From-SVN: r9355
1994-11-18(record_reg_classes): When handling case of single SET between a hard ↵Richard Kenner1-1/+16
register alone in a class and a pseudo... (record_reg_classes): When handling case of single SET between a hard register alone in a class and a pseudo, make sure the register is the only member of the class. From-SVN: r8511
1994-11-16(record_reg_classes): Handle case of single SET between a hardRichard Kenner1-0/+26
register alone in a class and a pseudo. From-SVN: r8474
1994-06-14Cast pointer operands to bzero, bcopy, and bcmp to (char *).Richard Kenner1-6/+7
From-SVN: r7472
1994-05-27toplev.c (compile_file): Call init_regs after `word_mode' is valid.Doug Evans1-1/+12
* toplev.c (compile_file): Call init_regs after `word_mode' is valid. * regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a valid mode, fall back to word_mode. From-SVN: r7379
1994-05-06(init_reg_sets_1): Eliminate several permanent call_fixed_regs.Richard Kenner1-8/+0
From-SVN: r7250
1994-04-20(init_reg_sets_1): Make static.Doug Evans1-6/+24
(init_reg_modes): New function. (init_regs): Likewise. From-SVN: r7104
1994-04-20(choose_hard_reg_mode): Define here.Doug Evans1-0/+58
(reg_raw_mode): Define. (init_reg_sets_1): Initialize reg_raw_mode. From-SVN: r7087
1994-02-11(record_reg_classes): Fix logic in case of matching operands.Richard Kenner1-3/+3
From-SVN: r6528
1994-02-01Add prototypes for static functions.Richard Kenner1-13/+56
(auto_inc_dec_reg_p): New function. (regclass): Call it to allow a register needing a secondary reload to be used for inc/dec if it is already valid for it. From-SVN: r6461
1994-01-10(globalize_reg): New function.Richard Kenner1-11/+30
(init_reg_sets_1): Don't handle global regs here. From-SVN: r6371
1993-11-03(regclass): Consider commutativity even whenRichard Stallman1-5/+3
one arg is a constant. From-SVN: r5985
1993-10-11(reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0.Richard Stallman1-1/+2
From-SVN: r5739
1993-10-11(reg_scan): Don't call reg_scan_mark_refs on notes if there aren't any.Richard Kenner1-1/+14
(reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases. From-SVN: r5733
1993-10-11(regno_last_note_uid): New vector.Richard Stallman1-5/+20
(reg_scan): Initialize regno_last_note_uid. Call reg_scan_mark_refs for the notes. Pass its new arg. (reg_scan_mark_refs): New arg NOTE_FLAG. Pass it recursively. Set regno_last_note_uid. From-SVN: r5729
1993-10-06(record_reg_classes): Check if operands are the same by seeing if theyRichard Kenner1-4/+3
are the same register. From-SVN: r5632
1993-10-05(record_reg_classes): There is no alt_costRichard Stallman1-2/+4
for a pair of matching args if they are the same pseudo reg. From-SVN: r5597
1993-10-02(record_reg_classes): Skip to next alternative when we skip normalRichard Kenner1-2/+7
cost computation. From-SVN: r5561
1993-09-21bytecodeJan Brittenson1-0/+8
From-SVN: r5379
1993-05-25(regclass): Fix paren error.Richard Stallman1-1/+1
From-SVN: r4566
1993-03-23record_reg_classes): When an alternative requires a match...Richard Kenner1-11/+5
record_reg_classes): When an alternative requires a match, but we do it with a copy into a register, that alternative wins. From-SVN: r3862
1993-03-02(regclass): Don't set REGNO_POINTER_FLAG here.Richard Kenner1-57/+49
(reg_scan_mark_refs): Set it here. Accept INSN, not UID as arg. (reg_scan): Call reg_scan_mark_refs with INSN, not UID. From-SVN: r3615
1993-02-02(int_reg_class_contents): Make unsigned to avoid signed integer overflow.Richard Stallman1-5/+5
(init_reg_sets): Avoid signed integer overflow. From-SVN: r3411
1993-01-10# Fix misspellings in comments.Paul Eggert1-2/+2
From-SVN: r3183
1992-11-25Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS.Richard Stallman1-3/+3
(copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS. From-SVN: r2792
1992-11-18(regclass): Add missing cast from enum to int.Richard Kenner1-1/+1
From-SVN: r2755
1992-10-12(reg_names): Reinstate the definition here.Richard Stallman1-0/+4
From-SVN: r2415
1992-10-10(reg_name): Deleted.Richard Stallman1-4/+0
From-SVN: r2393
1992-09-29Fix comment syntax after #endif.Richard Stallman1-1/+1
From-SVN: r2280
1992-09-24(forbidden_inc_dec_class, in_inc_dec): New variables.Richard Kenner1-5/+90
(regclass): Don't alloca the costs twice. Initialize forbidden_inc_dec_class. For regs that have inc-dec, ignore forbidden classes. (record_address_regs): Update in_inc_dec. From-SVN: r2227
1992-09-15(record_reg_classes): Ignore leading % when examining constraint.Richard Stallman1-2/+7
Don't bypass usual cost computation when a pseudo "matches" a non-pseudo in matching operands. From-SVN: r2123
1992-09-07(record_reg_class): For matching operands...Richard Stallman1-0/+17
(record_reg_class): For matching operands, handle case where the earlier one is not a pseudo like the case where the later one is not a pseudo. From-SVN: r2067
1992-08-13(regclass): Don't scan the constraints if there aren't any operands.Tom Wood1-2/+3
(regclass): Don't scan the constraints if there aren't any operands. Don't look for a commutative constraint in the last operand. From-SVN: r1813
1992-07-12entered into RCSRichard Kenner1-1/+1
From-SVN: r1580
1992-07-08*** empty log message ***Charles Hannum1-1/+24
From-SVN: r1515
1992-07-06*** empty log message ***Richard Kenner1-3/+4
From-SVN: r1475
1992-06-29*** empty log message ***Richard Kenner1-0/+5
From-SVN: r1353
1992-06-30*** empty log message ***Richard Stallman1-1/+4
From-SVN: r1348
1992-06-28*** empty log message ***Richard Kenner1-1/+1
From-SVN: r1321