I've already tried the nop thing and it doesn't work better. I've quickly examined the generated assembly code, and there is no obvious difference between the 2 programs, at least in the main part. I'll try to watch deeper in the next few days.
Thanks for your answer again. Fred 2010/8/23 Robert Spanton <[email protected]>: > On Mon, 2010-08-23 at 17:11 -0400, Frédéric Sureau wrote: >> for(i=0;i<5000;i++); > > Try: > > for(i=0;i<5000;i++) > nop(); > > Cheers, > > Rob > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users >
