Re: Performance benefits of rep/loop?

From: Matt Taylor (para_at_tampabay.rr.com)
Date: 05/26/04

  • Next message: Robert Redelmeier: "Re: Write arguments on stack to stdout in Linux: How do i count the number of char's in each argument?"
    Date: Wed, 26 May 2004 09:20:21 +0000 (UTC)
    
    

    "flekso" <flekso@vip.hr> wrote in message news:c8v5st$vf$1@ls219.htnet.hr...
    <snip>
    > Y'all talk about loop unrolling, replacing 1 old instruction with 3-5
    new..
    > But what happens when you write an OS using such techniques, and each of
    the
    > 21 running threads has code written in such manner, what happens with the
    > instruction cache ? And if every process is written like that ?

    In that case, it is rather fortunate that code spends 99% of its time in
    loops.

    -Matt


  • Next message: Robert Redelmeier: "Re: Write arguments on stack to stdout in Linux: How do i count the number of char's in each argument?"

    Relevant Pages

    • Re: Mnemonic
      ... We don't know whether John had any input into that decision. ... learning any new tools or techniques, ... And bash scripting, and Linux LVM, and Linux disk management, ...
      (comp.lang.c)
    • Re: Why I Care About the USD-GBP Exchange Rate
      ... techniques than you to start with... ... Mine is mostly one line per title, so yours is more compact. ... Thus my minor desire for a PDA sometime ...
      (rec.arts.sf.written)
    • Re: Dja ever REALLY study a nice piece of furniture? - in my best Andy Rooney voice
      ... and a penchant for evolving designs and techniques over ... design and execution. ... Charlie, I do believe in the axiom that form follows function. ...
      (rec.woodworking)
    • Re: Embeded Tutorial?
      ... or at least techniques for implementing the task loop/state machine method? ...
      (comp.arch.embedded)
    • Re: Topic Sentences
      ... >>I think of what I believe people are calling tools as techniques. ... >>think to call them skills. ... > 'does the feeling of this scene match the feeling of the last one?' ...
      (rec.arts.sf.composition)