Author: Matt Taylor
Date: 00:09:27 02/14/03
Go up one level in this thread
On February 12, 2003 at 17:26:38, Dann Corbit wrote: >On February 12, 2003 at 17:08:34, Matt Taylor wrote: >>On February 12, 2003 at 14:14:58, Gerd Isenberg wrote: >[snip] >>>You have some explicite loads and stores: >>>Why not leaving the return value directly in eax? >>> >>>Cheers, >>>Gerd >> >>I do, but I was assuming that leaving it in eax is not technically legal for VC. >>The VC docs on inline assembly are extremely vague about everything besides >>syntax. Alternatively one can use __declspec(naked), but then inlining is >>problematic. >> >>I can try this...I am hesitant, though it's probably true that it will always >>work. > >From the VC++ help files: <snip> Wait a minute -- the help file is talking about writing a function with inline assembly, not an inline function with inline assembly. Are you -sure- I can stuff the return value in eax and VC will still correctly inline it? -Matt
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.