GCC-4.8.1 - loop optimizations
Ashwath Kumar Chandrasekaran
cashwathkumar@gmail.com
Sat Nov 30 10:06:00 GMT 2013
I have used the following configuration
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/gcc/libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc_4_8_1/configure --prefix=/opt/gcc
--with-gmp=/opt/gmp-5.1.3 --with-mpfr=/opt/mpfr-3.1.2
--with-mpc=/opt/mpc-1.0.1 --enable-languages=c,c++
--with-cloog=/opt/cloog-0.18.0 --with-isl=/opt/isl-0.11.1
Thread model: posix
gcc version 4.8.1 (GCC)
I tried using using -floop-block and -floop-interchange optimization
flags on simple program with for loops. I don't find any difference in
the optimized assembly code that is generated. I have enabled O1
optimization level and disabled all the flags. I have only enabled
-floop-block and -floop-interchange. Should I enable any more options
for this to work?
On Fri, Nov 29, 2013 at 5:23 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 29 November 2013 22:32, Ashwath Kumar Chandrasekaran wrote:
>> Are graphite loop transforms implemented in GCC-4.8.1.
>
> Yes.
>
>> Should I configure and build GCC in a different way.
>
> You didn't say how you configured it, so noone can say if you need to
> do it differently.
More information about the Gcc-help
mailing list