delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/06/01:09:06

Date: Thu, 6 Jan 94 15:58:37 CST
From: michaels AT vsl DOT com DOT AU (Michael Snoswell)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: -m486 flag: How much difference does it make?

Do the GNU people maintain the 486 generation code in gcc or does DJ do it?

Can someone who knows a bit about assembler tell me how good (tight, compared 
to hand done code or, say, the Watcom output) DJGPP is?

How much difference does the -m486 flag make? I've compiled with and without
and haven't noticed any difference in program execution speed and only a 
miniscule difference in program size.

If I use the 486 flag, will the code run on a 386 or does it just rearrange
some codes?

thanks
	Michael Snoswell

--------------------------------------------------------------------------------
Michael Snoswell			michaels AT vsl DOT com DOT au
Vision Systems Limited			+61 8 343 0627
South Australia				"Intelligent, witty quote"


rom djgpp-bounces  Thu Jan  6 02:09:06 1994
Received: by sun.soe.clarkson.edu (4.1/SMI-4.1)
	id AA10628; Thu, 6 Jan 94 02:00:51 EST
Return-Path: <stevev AT miser DOT uoregon DOT edu>
Received: from phloem.uoregon.edu by sun.soe.clarkson.edu (4.1/SMI-4.1)
	id AA10578; Thu, 6 Jan 94 01:57:13 EST
Received: from miser.uoregon.edu (miser.uoregon.edu [128.223.21.18]) by phloem.uoregon.edu (8.6.5.Beta9/8.6.5.Beta9) with SMTP id WAA24589; Wed, 5 Jan 1994 22:20:54 -0800
Received: by miser.uoregon.edu (4.1/UofO NetSvc-11/11/90)
	id AA01973; Wed, 5 Jan 94 22:57:53 PST
Date: Wed, 5 Jan 94 22:57:53 PST
From: stevev AT miser DOT uoregon DOT edu (Steve VanDevender)
Message-Id: <9401060657 DOT AA01973 AT miser DOT uoregon DOT edu>
To: michaels AT vsl DOT com DOT au (Michael Snoswell)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
In-Reply-To: <9401060528 DOT AA08042 AT vsl DOT com DOT AU>
Subject: -m486 flag: How much difference does it make?

Michael Snoswell writes:

 > Do the GNU people maintain the 486 generation code in gcc or
 > does DJ do it?

The 486 code generation options is a part of stock GCC and is
used on other GCC 80386/80486 targets.

 > Can someone who knows a bit about assembler tell me how good
 > (tight, compared to hand done code or, say, the Watcom output)
 > DJGPP is?

Apparently GCC is slightly less efficient than Watcom for code
speed.

 > How much difference does the From djgpp-bounces  Fri Jan  7 12:15:24 1994
Received: by sun.soe.clarkson.edu (4.1/SMI-4.1)
	id AA13381; Tue, 14 Dec 93 15:37:35 EST
Return-Path: <dj AT ctron DOT com>
Received: from nic.near.net by sun.soe.clarkson.edu (4.1/SMI-4.1)
	id AA13365; Tue, 14 Dec 93 15:37:18 EST
Received: from ctron.com by nic.near.net id aa25921; 14 Dec 93 15:35 EST
Received: from stealth.ctron.com by ctron.com (4.1/SMI-4.1)
	id AA01917; Tue, 14 Dec 93 15:35:07 EST
Received: from olympus.ctron.com by stealth.ctron.com (4.1/SMI-4.1)
	id AA14073; Tue, 14 Dec 93 15:35:03 EST
Received: from delorie by olympus.ctron.com (4.1/SMI-4.1)
	id AA17615; Tue, 14 Dec 93 15:34:59 EST
Received: by delorie (920330.SGI/920502.SGI)
	for djgpp AT sun DOT soe DOT clarkson DOT edu id AA27332; Tue, 14 Dec 93 15:38:30 -0500
Date: Tue, 14 Dec 93 15:38:30 -0500
From: DJ Delorie <dj AT ctron DOT com>
Message-Id: <9312142038 DOT AA27332 AT delorie>
To: vincent AT physique DOT ens DOT fr
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: 


> 	Bad news, I have a Diamond Stealth VLB 24 graphics board
> 	with dj110, I could used the vesa.grn driver prepared by
> 	Grzegorz B. Mazur" <gbm AT ii DOT pw DOT edu DOT pl> with the 	modified 
> 	go32. with dj111, this driver does not work anymore.
> 	I have also tried the vesa_s3.grn driver given with GRX103
> 	and intented for the stealth board, it works a little better 
> 	but leave garbage when you move things on the screen. 

go32 has the "standard" vesa.vrd built in.  Have you tried that one?
Just don't specify *any* driver on the command line and you get the
internal one.

> 	Dynamic linking : I use the dld package which is very nice
> 	I can load and run another application (like TeX) in a window
> 	and then correct the errors in another. The pb that I am facing
> 	is that the object format have changed in dj111 and I cannot
> 	load library of the dj111 package (bad magic number), the
> 	solution is to upgrade "dld",.. question if I recompile
> 	dld with dj111 will this work directly or does the changes in
> 	dld are much extensive ?

dld will have to be completely rewritten for 1.11.  I've been thinking
of doing this myself, as the goal is to make emu387 load this way.  If
I do one from scratch, I can make it commercially usable without the
GPL, and if emu387 will load with it, that's a requirement.

> 	I am also looking for the sources of file util command
> 	such as cp, rm, mv ... but with a makefile for DJGPP, the one
> 	that I have found are either for Miscrosoft C or for Unix machine
> 	but none of them turn out to compile nicely with DJGPP. 

Have you tried and Unix makefile with djgpp's make?


- Raw text -


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