delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/17/13:43:40

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: THE BET
Date: Mon, 17 Apr 2000 21:56:55 +0400
Organization: MTU-Intel ISP
Lines: 36
Message-ID: <38FB5067.5ED0D3F7@mtu-net.ru>
NNTP-Posting-Host: ppp98-17.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 955994243 45357 212.188.98.17 (17 Apr 2000 17:57:23 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 17 Apr 2000 17:57:23 GMT
Cc: eliz AT is DOT elta DOT co DOT il
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: en,ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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. :)

bye.
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019