Re: help with a power pc processor based software



In that kind of loop you should always use the qualifier volatile to avoid
optimizations as you should do for any hw register mapped in memory...to
avoid caching problems...

Carlo

---------------------------------------
Posted through http://www.FPGARelated.com
.



Relevant Pages

  • Re: How to set up a global variable in a sub-routine?
    ... the 'global variables' are more like constants ... ... single script, I need a way to tell it only once where the file is and ... So, if you construct a loop with a loop variable, you ... >programmers avoid global variables completely. ...
    (perl.beginners)
  • Re: Is .NET good for high volume numerical computing?
    ... of changing the decision tree structure later. ... > into one managed class and call it through a managed class wrapper. ... > But try to avoid managed/unmanaged transitions, in the performance loop. ...
    (microsoft.public.dotnet.general)
  • Re: Is .NET good for high volume numerical computing?
    ... Group you performance sensitive code ... into one managed class and call it through a managed class wrapper. ... But try to avoid managed/unmanaged transitions, in the performance loop. ...
    (microsoft.public.dotnet.general)
  • Re: how to vectorize
    ... >>> With one loop it is easy, but I'd like to avoid loops. ... The BSXFUN approach is really preferable to REPMAT, however, since REPMAT does a lot of unnecessary memory duplication. ...
    (comp.soft-sys.matlab)
  • Re: MATLAB speed up
    ... One way to avoid the for loop is to vectorize your code. ... I use Dual core 2.13GHz cpu. ... I want to use my whole dual core cpu for the process. ...
    (comp.soft-sys.matlab)