Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

GCC/DJGPP --masm=intel (plus YASM, GCC speed) (Announce)

posted by Rugxulo Homepage, Usono, 31.10.2007, 00:26

> Do you mean compile time, not compile code speed?

Yes.

> I don't feel any significant speed changes on my machine. Can you give
> simple example which I can reproduce in my djgpp? I have some packed DJGPP
> archives since I started with version 2.7.2 (huh, very old) so I can
> compare it against newer (sorely have 2.95.x, 3.3.x). Compiling speed may
> be affected be many thinks, from cpu speed, memory amount to filesystem
> speed, fragmentation, caching, DOS file i/o performance...

Well, grab my small setup of 2.95.3 (unpacks to 6 MB, not huge) and try compiling TDE using Eric's tiny runtime timer tool. Then please tell me your experience. I've tested three PCs, but the older GCC the faster it compiles. (And yes, I know -O2 is going to be slower than -O1 or obviously -O0.)

A normal "runtime make" of TDE 5.1v on my P166 (DJGPP 2.03p2, GCC 3.4.4) takes 4 mins on DR-DOS 7.03 using JEMMEX (but 30secs more if using the default DR-EMM386 or even DR-HIMEM, strangely). This is using the default makefile without any changes.

On this AMD Athlon64x2 1.7 Ghz, using GCC 4.2.2 (DJGPP 2.04 beta) and Make 3.80 (2.04 compile), it takes 1 min. 4 secs. And that's a fair amount slower than either 3.4.4 (37 secs) or 2.95.3 (13 secs), both using DJGPP 2.03p2. Obviously, some optimizations in GCC have been improved as well as it's support for extra languages too. I'm just saying, it ain't that super duper fast. ;-)

EDIT: I forgot, 2.95.3 needs "-mcpu" instead of "-mtune" in the makefile. But everything else is the same.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 483 users online (0 registered, 483 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum