This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug & patch for loop.c:maybe_eliminate_biv_1


Michael Hayes <mhayes@redhat.com> writes:

> 
> Aha, this OK.  I've just checked my patch directory and found that I'd
> erroneously placed the following patch into my installed directory
> without actually committing it.  This will solve your problem
> and complete my series of loop insn emission patches.

Thanks.

> 2001-01-21  Michael Hayes  <mhayes@redhat.com>
> 
> 	* loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
> 	(loop_insn_emit_before): No longer static.
> 	(move_movables): Replace emit_insn_after with loop_insn_emit_after.
> 	(loop_givs_rescan, load_mems): Likewise.
> 	(check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
> 	(maybe_eliminate_biv_1):
> 	(move_movables): Replace emit_call_insn_before with
> 	loop_call_insn_hoist.
> 	* loop.h (loop_insn_emit_before): Add.
> 	* unroll.c (copy_loop_body): Replace emit_insn_before with 
> 	loop_insn_emit_before.

Only one question.

Why all your "loop_insn_emit.*" function not named as
"loop_emit_insn.*" as simple "emit_insn.*" functions.

Denis.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]