optimization flags for simulation software

2009-05-06 Thread yuvalif
I have a C++ program that does an economic simulation. The program have one function with many nested loops (3-5 levels of nesting), each run in order of 10-1000 times. All loop limits are constants. Inside the loops, simple calculations are done (exp is the heaviest), and some global matrices are

Re: optimization flags for simulation software

2009-05-06 Thread Paul Floyd
On Wed, 6 May 2009 06:47:14 -0700 (PDT), yuva...@gmail.com wrote: > I have a C++ program that does an economic simulation. The program > have one function with many nested loops (3-5 levels of nesting), each > run in order of 10-1000 times. All loop limits are constants. > Inside the loops, sim

Re: optimization flags for simulation software

2009-05-06 Thread REH
On May 6, 9:47 am, yuva...@gmail.com wrote: > I have a C++ program that does an economic simulation. The program > have one function with many nested loops (3-5 levels of nesting), each > run in order of 10-1000 times. All loop limits are constants. > Inside the loops, simple calculations are done

Re: optimization flags for simulation software

2009-05-06 Thread Pascal J. Bourguignon
yuva...@gmail.com writes: > I have a C++ program that does an economic simulation. The program > have one function with many nested loops (3-5 levels of nesting), each > run in order of 10-1000 times. All loop limits are constants. > Inside the loops, simple calculations are done (exp is the heavi