Commit Graph

230 Commits

Author SHA1 Message Date
Richard Stallman
b9b817f010 (unroll_loop): Don't unroll loop if jump has combined
the original loop start label with another label.

From-SVN: r6028
1993-11-06 21:50:29 +00:00
Richard Stallman
8dc0b179fd (unroll_loop): Set map->const_equiv_map_size to new_maxregnum.
(copy_loop_body): When set const_age_map entry for split dest reg,
verify that it is within the bounds of the map.
(find_splittable_regs): Count number of biv sets, not number of
bivs.  Don't pass result to find_splittable_givs.
(find_splittable_givs): Delete parameter result.  Add local variable result.

From-SVN: r5741
1993-10-11 21:02:37 +00:00
Richard Stallman
6511b4f8b1 (calculate_giv_inc): Add new variables increment_total and tries...
(calculate_giv_inc): Add new variables increment_total
and tries, and new label retry, to handle case where increment is
two add instructions.

From-SVN: r4689
1993-06-17 21:31:32 +00:00
Richard Stallman
6bd4352429 (initial_reg_note_copy, final_reg_note_copy): New functions.
(copy_loop_body): Use new function to copy REG_NOTES.

From-SVN: r4481
1993-05-16 23:14:24 +00:00
Jim Wilson
bae1218656 (unroll_loop): Clear map->integrating.
From-SVN: r4455
1993-05-14 10:23:25 -07:00
Jim Wilson
ef39bb951c (copy_loop_body): Delete May 10 change.
From-SVN: r4432
1993-05-12 11:47:43 -07:00
Jim Wilson
02cd879783 (copy_loop_body): Copy REG_NOTES during main loop
instead of afterwards.

From-SVN: r4416
1993-05-10 17:31:13 -07:00
Jim Wilson
1f1e8172a8 (loop_iterations): When computing comparison_value, use
reg_set_p to identify instructions that modify it.

From-SVN: r4036
1993-04-06 12:38:34 -07:00
Jim Wilson
483404b6dc (copy_loop_body...
(copy_loop_body, JUMP_INSN case): Do map the body of
the loop branch back, then rewrite it to jump past the end of the
unrolled loop.

From-SVN: r3014
1992-12-31 12:47:49 -08:00
Richard Stallman
885cde0193 (final_biv_value): Make a note after loop_end
if we need to use NEXT_INSN (loop_end).

From-SVN: r2725
1992-11-09 20:03:13 +00:00
Jim Wilson
84c29ce456 (copy_loop_body, JUMP_INSN case): Delete abort in the
code for setting the JUMP_LABEL field.

From-SVN: r2346
1992-10-06 17:20:41 -07:00
Jim Wilson
9fdc1dcad4 (find_splittable_givs): recog_memoized failure return is -1 not 0.
From-SVN: r2283
1992-09-29 15:41:28 -07:00
Jim Wilson
7f11183e26 (copy_loop_body...
(copy_loop_body, JUMP_INSN case): When invert jump
insn, must first construct new insn before trying to invert it,
so that validate_change will work properly.

From-SVN: r2277
1992-09-28 14:25:53 -07:00
Jim Wilson
4024394c6f (find_splittable_givs): Pass mem_mode not mode to memory_address_p.
From-SVN: r2276
1992-09-28 14:21:34 -07:00
Jim Wilson
5746764666 (copy_loop_body, JUMP_INSN case): When setting JUMP_LABEL field, verify that what we think is a label actually is.
(copy_loop_body, JUMP_INSN case): When setting
JUMP_LABEL field, verify that what we think is a label actually
is.  If it isn't then map the old JUMP_LABEL to find the new one.

From-SVN: r2275
1992-09-28 14:18:17 -07:00
Richard Kenner
0e91429a56 (find_splittable_regs): If any BIV update isn't simple, don't split it.
(final_giv_value): Look for biv updates by matching insns; don't try to
reparse the insn.

From-SVN: r2181
1992-09-19 15:50:23 -04:00
Richard Kenner
87f60669a0 (copy_loop_body): Add missing declaration of EXIT_LABEL parameter.
From-SVN: r1897
1992-08-19 13:37:07 -04:00
Richard Kenner
a9d27cb2a3 (copy_loop_body): Don't assume (pc) can be on either leg of jump; use
invert_exp and redirect_exp instead.

From-SVN: r1843
1992-08-14 18:41:07 -04:00
Jim Wilson
b43e4bcbcf (unroll_loop): Delete call to unroll_block_trees.
From-SVN: r1802
1992-08-11 12:56:20 -07:00
Jim Wilson
715e6efb42 (copy_loop_body): Only copy VTOP note if it will end up
before a loop exit test.

From-SVN: r1796
1992-08-11 12:42:35 -07:00
Charles Hannum
c166a31116 entered into RCS
From-SVN: r1476
1992-07-06 20:15:06 +00:00
Jim Wilson
2b9a9aea2f *** empty log message ***
From-SVN: r1107
1992-05-27 15:10:02 -07:00
Jim Wilson
2b4bd1bc30 *** empty log message ***
From-SVN: r1023
1992-05-19 17:20:55 -07:00
Richard Stallman
6dc42e49d3 *** empty log message ***
From-SVN: r930
1992-05-07 06:41:23 +00:00
Jim Wilson
bf1c694003 *** empty log message ***
From-SVN: r841
1992-04-27 09:55:54 -07:00
Jim Wilson
b82fb2631b *** empty log message ***
From-SVN: r706
1992-04-07 21:41:56 -07:00
Richard Stallman
b4ac57ab29 *** empty log message ***
From-SVN: r478
1992-03-14 05:17:01 +00:00
Richard Kenner
412dc3482f *** empty log message ***
From-SVN: r380
1992-03-03 08:06:22 -05:00
Jim Wilson
3f07e47a84 *** empty log message ***
From-SVN: r359
1992-02-26 18:36:26 -08:00
Richard Kenner
67f2de4154 Initial revision
From-SVN: r290
1992-02-07 22:27:38 -05:00