Doug Evans
7f21d440de
toplev.c (compile_file): Call init_regs after `word_mode' is valid.
...
* 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-27 23:29:18 +00:00
Richard Kenner
447502c7b2
(init_reg_sets_1): Eliminate several permanent call_fixed_regs.
...
From-SVN: r7250
1994-05-06 18:02:55 -04:00
Doug Evans
c27c5281ce
(init_reg_sets_1): Make static.
...
(init_reg_modes): New function.
(init_regs): Likewise.
From-SVN: r7104
1994-04-20 23:38:22 +00:00
Doug Evans
ca4aac003d
(choose_hard_reg_mode): Define here.
...
(reg_raw_mode): Define.
(init_reg_sets_1): Initialize reg_raw_mode.
From-SVN: r7087
1994-04-20 03:36:49 +00:00
Richard Kenner
dc9036088b
(record_reg_classes): Fix logic in case of matching operands.
...
From-SVN: r6528
1994-02-11 17:30:20 -05:00
Richard Kenner
08d95f9128
Add prototypes for static functions.
...
(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-02-01 18:22:21 -05:00
Richard Kenner
614f68e2af
(globalize_reg): New function.
...
(init_reg_sets_1): Don't handle global regs here.
From-SVN: r6371
1994-01-10 19:16:27 -05:00
Richard Stallman
cc4c133a36
(regclass): Consider commutativity even when
...
one arg is a constant.
From-SVN: r5985
1993-11-03 20:36:59 +00:00
Richard Stallman
7b18c3db9c
(reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0.
...
From-SVN: r5739
1993-10-11 19:55:18 +00:00
Richard Kenner
01565a557f
(reg_scan): Don't call reg_scan_mark_refs on notes if there aren't any.
...
(reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases.
From-SVN: r5733
1993-10-11 10:10:43 -04:00
Richard Stallman
1ebecb64eb
(regno_last_note_uid): New vector.
...
(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-11 07:02:42 +00:00
Richard Kenner
37747c8210
(record_reg_classes): Check if operands are the same by seeing if they
...
are the same register.
From-SVN: r5632
1993-10-06 06:58:50 -04:00
Richard Stallman
a8683de70b
(record_reg_classes): There is no alt_cost
...
for a pair of matching args if they are the same pseudo reg.
From-SVN: r5597
1993-10-05 03:07:03 +00:00
Richard Kenner
1ddb342ad7
(record_reg_classes): Skip to next alternative when we skip normal
...
cost computation.
From-SVN: r5561
1993-10-02 14:09:01 -04:00
Jan Brittenson
ca695ac93d
bytecode
...
From-SVN: r5379
1993-09-21 14:25:24 -07:00
Richard Stallman
808043edb1
(regclass): Fix paren error.
...
From-SVN: r4566
1993-05-25 17:30:34 +00:00
Richard Kenner
77e67eac60
record_reg_classes): When an alternative requires a match...
...
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-23 20:18:04 -05:00
Richard Kenner
be8dcd745f
(regclass): Don't set REGNO_POINTER_FLAG here.
...
(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-03-02 18:59:33 -05:00
Richard Stallman
089e575bb0
(int_reg_class_contents): Make unsigned to avoid signed integer overflow.
...
(init_reg_sets): Avoid signed integer overflow.
From-SVN: r3411
1993-02-02 22:25:11 +00:00
Paul Eggert
ac2a945455
# Fix misspellings in comments.
...
From-SVN: r3183
1993-01-10 22:49:32 +00:00
Richard Stallman
dd9f0e8f46
Fix typo in use of SECONDARY_INPUT_RELOAD_CLASS.
...
(copy_cost): Fix typo in use of SECONDARY_OUTPUT_RELOAD_CLASS.
From-SVN: r2792
1992-11-25 05:48:35 +00:00
Richard Kenner
77edb22261
(regclass): Add missing cast from enum to int.
...
From-SVN: r2755
1992-11-18 09:58:42 -05:00
Richard Stallman
d05c8ee724
(reg_names): Reinstate the definition here.
...
From-SVN: r2415
1992-10-12 22:21:04 +00:00
Richard Stallman
c2fb3f5754
(reg_name): Deleted.
...
From-SVN: r2393
1992-10-10 20:52:07 +00:00
Richard Stallman
5fcb671c83
Fix comment syntax after #endif.
...
From-SVN: r2280
1992-09-29 20:08:08 +00:00
Richard Kenner
533d083586
(forbidden_inc_dec_class, in_inc_dec): New variables.
...
(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-24 06:30:43 -04:00
Richard Stallman
347099d6ef
(record_reg_classes): Ignore leading % when examining constraint.
...
Don't bypass usual cost computation when a pseudo "matches"
a non-pseudo in matching operands.
From-SVN: r2123
1992-09-15 04:47:08 +00:00
Richard Stallman
07d8ca2d92
(record_reg_class): For matching operands...
...
(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-09-07 05:56:52 +00:00
Tom Wood
e5ed215546
(regclass): Don't scan the constraints if there aren't any operands.
...
(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-08-13 20:48:40 +00:00
Richard Kenner
6f6547765e
entered into RCS
...
From-SVN: r1580
1992-07-12 17:42:39 -04:00
Charles Hannum
2e0e2b76be
*** empty log message ***
...
From-SVN: r1515
1992-07-08 10:28:26 +00:00
Richard Kenner
373666321a
*** empty log message ***
...
From-SVN: r1475
1992-07-06 16:14:57 -04:00
Richard Kenner
20912ad055
*** empty log message ***
...
From-SVN: r1353
1992-06-29 22:19:44 -04:00
Richard Stallman
61b01243dd
*** empty log message ***
...
From-SVN: r1348
1992-06-30 00:40:57 +00:00
Richard Kenner
197d6480b8
*** empty log message ***
...
From-SVN: r1321
1992-06-28 08:53:30 -04:00
Michael Meissner
ca3c6eae46
*** empty log message ***
...
From-SVN: r1317
1992-06-27 22:25:43 +00:00
Richard Kenner
54d234208a
*** empty log message ***
...
From-SVN: r1314
1992-06-27 13:52:16 -04:00
Richard Kenner
e4600702d9
*** empty log message ***
...
From-SVN: r1313
1992-06-27 13:49:28 -04:00
Richard Stallman
051e5bbf6b
*** empty log message ***
...
From-SVN: r1259
1992-06-24 03:01:33 +00:00
Richard Stallman
6dc42e49d3
*** empty log message ***
...
From-SVN: r930
1992-05-07 06:41:23 +00:00
Tom Wood
e5c90c23e2
*** empty log message ***
...
From-SVN: r395
1992-03-05 20:07:30 +00:00
Richard Stallman
4db1857482
*** empty log message ***
...
From-SVN: r258
1992-01-31 05:14:10 +00:00
Richard Kenner
a8efe40d3f
*** empty log message ***
...
From-SVN: r192
1992-01-15 16:58:02 -05:00
Richard Kenner
54dac99e07
Initial revision
...
From-SVN: r56
1991-11-05 18:39:50 -05:00