* GCC-4.8.1 - loop optimizations
@ 2013-11-30 1:23 Ashwath Kumar Chandrasekaran
2013-11-30 1:28 ` Jonathan Wakely
0 siblings, 1 reply; 3+ messages in thread
From: Ashwath Kumar Chandrasekaran @ 2013-11-30 1:23 UTC (permalink / raw)
To: gcc-help
Hello,
I want to use some loop optimizations. I have build GCC-4.8.1 using
gmp 5.1.3, mpfr 3.1.2, mpc 1.0.1, cloog 0.18.0 and isl 0.11.1.
I tried optimization flags -floop-interchange and -floop-block. I
don't find any changes in the optimized code.
Are graphite loop transforms implemented in GCC-4.8.1. Should I
configure and build GCC in a different way. I am new using GCC. Please
help.
Thanks and Regards,
Ashwath.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GCC-4.8.1 - loop optimizations
2013-11-30 1:23 GCC-4.8.1 - loop optimizations Ashwath Kumar Chandrasekaran
@ 2013-11-30 1:28 ` Jonathan Wakely
2013-11-30 10:06 ` Ashwath Kumar Chandrasekaran
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2013-11-30 1:28 UTC (permalink / raw)
To: Ashwath Kumar Chandrasekaran; +Cc: gcc-help
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GCC-4.8.1 - loop optimizations
2013-11-30 1:28 ` Jonathan Wakely
@ 2013-11-30 10:06 ` Ashwath Kumar Chandrasekaran
0 siblings, 0 replies; 3+ messages in thread
From: Ashwath Kumar Chandrasekaran @ 2013-11-30 10:06 UTC (permalink / raw)
To: Jonathan Wakely; +Cc: gcc-help
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-30 4:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-30 1:23 GCC-4.8.1 - loop optimizations Ashwath Kumar Chandrasekaran
2013-11-30 1:28 ` Jonathan Wakely
2013-11-30 10:06 ` Ashwath Kumar Chandrasekaran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).