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: <>
Mime-Version: 1.0
X-Trace: 955994243 45357 (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. :)

Alexei A. Frounze

- Raw text -

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