Author: Rafael Andrist
Date: 02:16:42 09/16/01
Go up one level in this thread
On September 15, 2001 at 19:52:11, Vincent Diepeveen wrote: >On September 15, 2001 at 17:57:03, Rafael Andrist wrote: > >>; reading from memory >>; do something else to avoid AGI stall >>or eax, edx >>jnz loop1 > >using that can you still get a misprediction penalty somehow? You can get allways a misprediction of conditional jumps. In special cases there are some tricks to avoid conditional jumps: example in VC++ unoptimized: unsigned __int32 i, j; //some code involving i and j if ( (i & 0x00000010) != 0 ) j++; optimized: unsigned __int32 i, j; //some code involving i and j j += (i & 0x00000010) >> 4;
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.