Minor loop-iv tweaks for doloops

Bernd Schmidt bernds_cb1@t-online.de
Sat Sep 26 22:59:00 GMT 2009


This allows us to generate slightly more hardware loops on the Blackfin.
 When walking through arrays on the stack, we often generate comparisons
based on the stack or frame pointer; we should treat these as invariant
everywhere.  Some earlier patches already went in that direction, this
one just converts a few more places.

Bootstrapped and regression tested on i686-linux.  Ok?

I'm also attaching a patch with three Blackfin-specific testcases which
verify that we're generating hardware loops as expected.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fninv.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090926/c35426d1/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsetup-tc.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090926/c35426d1/attachment-0001.ksh>


More information about the Gcc-patches mailing list