Author: Gerd Isenberg
Date: 12:44:03 01/21/03
Go up one level in this thread
On January 21, 2003 at 15:08:17, Bas Hamstra wrote: <snip> >I wonder how you call such a routine, you pass the parameter via a MMX register. >So before the routine is called you have to do some > > asm lea REG, BB > asm movq mm1, [REG] > >or something? Why no normal parameter passing? > >Bas. Yes, i have some polymorph sets of these functions, even with "normal" parameter passing and returning bitboards in edx:eax. But specially the latter is expensive due to two movd reg32,mmx vector path instructions. In some "critical" routines i use some asm prefix/postfix macros/intrinsics to laod/store from or to aligned memory. Gerd
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.