Date: Tue, 18 Apr 2000 05:14:23 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: root AT darkstar DOT grendel DOT net To: djgpp AT delorie DOT com Subject: Re: THE BET In-Reply-To: <38FB5067.5ED0D3F7@mtu-net.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 17 Apr 2000, Alexei A. Frounze wrote: > Hi guys! > > What I'm talking is the source I sent to Dieter day or two before... > > 1. I've just improved ceil() in the Scan_Edge() and Scan_Edge2() routines - I > simply *removed* some *redundant* instrucions of my inline ASM. > > 2. I've removed all the inlined ASM from the T_Map() function. There are only C > equivalents now. > > 3. I haven't replaced external ASM subroutine span(). > > 4. I've compiled entire the 3d engine with only -O2 switch (and --strip-all :). > > 5. Results: > Minimum FPS:35, Maximum FPS:45 > What there was before: > Minimum FPS:45, Maximum FPS:70 > > If I replace span() with C code in addition to previous changes, I have: > Minimum FPS:37, Maximum FPS:50 > > If I replace span() with C code in my original program, I have: > Minimum FPS:39, Maximum FPS:52 > What there was before: > Minimum FPS:45, Maximum FPS:70 > > > IMHO the bet is already won. Guess the winner. :) Well it was Dieter....:-) Did you read his post.....His C code got >70 FPS... Grendel Hi, I'm a signature virus. plz set me as your signature and help me spread :)