Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: branch misprediction

Author: J. Wesley Cleveland

Date: 13:52:40 07/14/04

Go up one level in this thread


On July 14, 2004 at 15:04:45, Eric Oldre wrote:

>On July 14, 2004 at 13:16:27, Dan Andersson wrote:
>
>> An online treasure trove for basic. and not so basic, CPU knowledge:
>>http://arstechnica.com/cpu/index.html
>>Look for (super-)pipelining and superscalar processors.
>>
>>MvH Dan Andersson
>
>Thanks Dan, that was an enlightening article for me. I've also now found this
>for people who may be interested.
>
>http://encyclopedia.thefreedictionary.com/Branch%20prediction
>
>However, now that i have some concept of what brach prediction means, how do you
>go about minimizing the effects of mis-pridictions? any particular practices to
>follow? ways to measure?
>
>Eric

Go to the amd and intel web sites and look for their processor optimization
guides (I found the amd more useful). Then:

1. Don't worry about it.
2. Don't worry about it except for the innermost loops.
3. Don't worry about it until you are seriously thinking about coding some
routines in assembler (your compiler will do a better job of optimizing unless
you really know what you are doing).



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.