Commit Graph

22 Commits

Author SHA1 Message Date
James Van Artsdalen
b40b8b0642 (move_for_stack_reg): If the 387 regstack is not full when doing an XFmode write from 387 to MEM...
(move_for_stack_reg): If the 387 regstack is not full when doing an XFmode
write from 387 to MEM, copy the source reg and write the copy.

From-SVN: r5598
1993-10-05 05:48:02 +00:00
James Van Artsdalen
9f5cad0582 (record_label_references): Don't follow a null label reference chain.
From-SVN: r5429
1993-09-23 06:07:19 +00:00
Richard Stallman
9623736278 (stack_result_p): New function.
(stack_reg_life_analysis): Use that.

From-SVN: r4699
1993-06-19 22:32:28 +00:00
Richard Kenner
854dfdff0a (record_asm_reg_life): Don't abort for asm that doesn't match its
constraints.

From-SVN: r4342
1993-05-05 17:41:42 -04:00
Richard Kenner
1815bfc25f (block_number, BLOCK_NUM, reg_to_stack): Use ints, not shorts to count
blocks.

From-SVN: r4177
1993-04-17 17:44:50 -04:00
James Van Artsdalen
6ec87b9de9 (emit_swap_insn): Don't link cc0 insns: emit swap after cc0 user.
From-SVN: r3953
1993-03-31 17:30:15 +00:00
James Van Artsdalen
fabf775092 (emit_swap_insn): If emitting after a cc0 setter, link the cc0 insns.
From-SVN: r3726
1993-03-13 21:33:23 +00:00
James Van Artsdalen
b9342cdfeb (get_true_reg): Don't ignore FLOAT_TRUNCATE.
(subst_stack_regs_pat): Substitute in FLOAT_TRUNCATE insns.
(compare_for_stack_reg): Reset insn code after swapping operands.

From-SVN: r3715
1993-03-12 09:27:29 +00:00
Richard Stallman
6d337bba2d (record_asm_reg_life): Cast class to int for indexing.
From-SVN: r3682
1993-03-09 00:11:33 +00:00
James Van Artsdalen
dc78213e1a (compare_for_stack_reg): Properly swap operands of a COMPARE.
From-SVN: r3383
1993-01-29 05:48:47 +00:00
James Van Artsdalen
eca3150117 (all functions): Use NULL_RTX instead of 0 for rtx comparisons.
(emit_pop_insn): Emit insn with mode QImode: insn contains stack-regs.
(emit_hard_swap_insn): Delete.
(emit_swap_insn): Merge with emit_hard_swap_insn.
Delete WHEN arg and change all callers.
If previous insn was a push from REG, omit swap.
If previous insn wrote reg-stack top to REG, omit swap.
Emit swap insn with mode QImode: insn contains stack-regs.
Emit swap insn after previous float insn, instead of before this one.
(swap_rtx_condition): New function.
(compare_for_stack_reg): If op 0 of COMPARE is not a stack reg, exchange
ops 0 and 1 and swap cc0 user condition.

From-SVN: r3294
1993-01-20 06:39:06 +00:00
James Van Artsdalen
c860870600 (record_reg_life): Mark an unused reg as such, even if it appears in
SET_SRC.

From-SVN: r1993
1992-08-29 07:33:16 +00:00
James Van Artsdalen
0e7d0eb9de (record_note_if_dead): Delete function.
(record_reg_life_pat): Rewrite to handle any sort of pattern.
(record_reg_life): Change interface to record_reg_life_pat.
(stack_reg_life_analysis): Don't assume that MODE_FLOAT values are
always returned in a float reg.
(subst_stack_regs_pat): Add support for sin and cos insns.

From-SVN: r1980
1992-08-28 01:24:42 +00:00
Charles Hannum
c166a31116 entered into RCS
From-SVN: r1476
1992-07-06 20:15:06 +00:00
James Van Artsdalen
c1c35f175d *** empty log message ***
From-SVN: r1073
1992-05-24 18:57:01 +00:00
Richard Stallman
6dc42e49d3 *** empty log message ***
From-SVN: r930
1992-05-07 06:41:23 +00:00
James Van Artsdalen
c572e5ba68 *** empty log message ***
From-SVN: r808
1992-04-21 05:40:51 +00:00
James Van Artsdalen
3f5cfed673 *** empty log message ***
From-SVN: r542
1992-03-21 04:53:32 +00:00
Richard Stallman
d45cf215ee *** empty log message ***
From-SVN: r472
1992-03-14 05:07:15 +00:00
Richard Stallman
114cbee61c *** empty log message ***
From-SVN: r217
1992-01-19 04:23:39 +00:00
Richard Kenner
7d0e3dd45e *** empty log message ***
From-SVN: r171
1992-01-08 06:09:52 -05:00
James Van Artsdalen
482271502b Initial revision
From-SVN: r142
1991-12-26 10:05:42 +00:00