This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: my bct loop hacks
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: my bct loop hacks
- From: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Date: Tue, 06 Oct 1998 10:56:34 +1300 (NZDT)
- Cc: law at cygnus dot com, Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>, egcs at cygnus dot com
- References: <law@cygnus.com> <5808.907229694@hurl.cygnus.com><9810052202.AA44648@marc.watson.ibm.com>
David Edelsohn writes:
> I am testing out the re-integration of the BCT code with the
> current version of EGCS in CVS. With my version of loop.c prior to the
> check_dbra_loop() changes in August, loop_iterations() discovered the
> constant number of iterations can be discovered anymore. BCT insertion
> then fails.
Ah, I've been having problems with this as well. It looks like a
problem with recent changes to loop.c:get_condition not allowing a
VOIDmode comparison operator following a CCmode COMPARE operation.
(set (reg:CC ccreg) (compare:CC (...)))
(set (pc) (if_then_else (lt (reg:CC ccreg) ...)