41 msg[RFC] GCC caret diagnostics
9 msgPossible GCC 4.3 driver regression caused by yo...
1 msgBootstrap failure building libobjc fixed
4 msgnew regression on 4.3.0 branch
1 msg4.3.0-rc2 available
105 msg[PATCH][4.3] Deprecate -ftrapv
3 msgIssues stopping us from removing libcall notes
1 msggcc-4.4-20080229 is now available
5 msgGCC wiki very slow?
6 msgmerging trunk into MELT branch: svn merge or sv...
2 msgA few questions on XFmode for x86
4 msgBenchmarks: 7z, bzip2 & gzip.
10 msgPR35401 and PR30572 are gcc 4.3.0 release block...
7 msgSome help with fold_convert() on RECORD_TYPEs
1 msg[Fwd: Re: GCC 4.3 target deprecation proposals]
6 msg4.3 target deprecation patch part 1: c4x remova...
8 msgSuccessfull build of gcc 4.2.3 with MinGW 5.13 ...
1 msggcc-4.3-20080228 is now available

GCC loop optimizations
\ linuxkaffee (28 Feb 2008)
. \ Zdenek Dvorak (29 Feb 2008)

2 msgFailure to build GCC 4.2.2 for the gnuspe target
Subject:Re: GCC loop optimizations
Group:Gcc
From:Zdenek Dvorak
Date:29 Feb 2008


Hi,

> I'd like to know your experiences with the gcc loop optimizations.
>
> What loop optimizations (in your opinion) can be applied to a large
> number of programs and yield a (significant) improvement of the
> program run-time?

in general, I would say invariant motion, load/store motion, strength
reduction and loop unrolling. Most of the other loop optimizations tend
to apply only in special situations. Note however that the usefulness
also heavily depends on the type of the compiled code; e.g., wide class
of programs (simulations, optimization) spend most of the time doing
simple calculations on large arrays, and other optimizations (loop
interchange/reordering/..., prefetching) become important.

> I've tested the gcc compiler optimization "loop unswitching"
> (introduced in gcc 3.4) but going through a large number of different
> benchmarks I could find very few cases where the optimization could be
> applied. Do you share my experience?

yes, the situations where loop unswitching can be applied are not
very common.

Zdenek


© 2004-2008 readlist.com