Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: branch optimisation questi
Posted by: Leonard Jun,28.2005-14:54 


Don't know anything about 68030 or 68060 (only 68000 for motoral family).

With modern CPU, you better have to think in "predicted or not-predicted" branch instead of "take or not taken". If a branch is predicted, it's very fast (whatever the PC jumps to another location or not). If it's miss-predicted, it's quite horrible ( about 40cycles on Intel !!).
The branch prediction unit on modern processor is very complex. Pentium can keep trace of patterns about 6 branchs ( 001011 or 110010 etc..), to avoid miss-prediction.

Did 68060 has branch prediction ?








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
branch optimisation question gwem Jun,22.2005-00:15
  Re: branch optimisation question rdpkr Jun,22.2005-02:08
    Re: branch optimisation questi Peter Jun,22.2005-09:41
  Re: branch optimisation questi earx Jun,23.2005-15:45
    Re: branch optimisation questi gwem Jun,23.2005-17:49
      Re: branch optimisation questi earx Jun,24.2005-18:36
        Re: branch optimisation questi Creature XL Jun,25.2005-16:01
          Re: branch optimisation questi Creature XL Jun,25.2005-16:11
      Re: branch optimisation questi Leonard Jun,28.2005-14:54
        Re: branch optimisation questi Creature XL Jun,28.2005-15:41


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson