delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/17/08:28:59

From: "Santosh H." <hsantosh AT giasbga DOT vsnl DOT net DOT in>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Assembly in DJGPP (MMX etc)
Date: Wed, 15 Sep 1999 19:04:06 +0530
Organization: VSNL
Lines: 39
Message-ID: <Pine.SOL.3.96.990915185951.1279A-100000@giasbga>
References: <7qtv03$ck$1 AT lure DOT pipex DOT net>
NNTP-Posting-Host: giasbga.vsnl.net.in
Mime-Version: 1.0
X-Trace: news.vsnl.net.in 937440226 28870 202.54.12.161 (16 Sep 1999 00:03:46 GMT)
X-Complaints-To: postmaster AT news DOT vsnl DOT net DOT in
NNTP-Posting-Date: 16 Sep 1999 00:03:46 GMT
X-Sender: hsantosh AT giasbga
In-Reply-To: <7qtv03$ck$1@lure.pipex.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi Duncan,
      U can try using NASM .To do this see the djppasm.doc available in
zip format at www.delorie.com & follow the link Docs on the page.
U can get NSM at ftp.simtel.com under some directory I've forgotten
which.See the above doc for details.

cheerio.
   BTW NASM assembles upto P6 including MMX and uses Intel syntax albiet
with some small quirks but no big deal

Santosh

******************************************************************
Santosh .H :
Activities  Linux Linux and only Linux :-)
Thought for a lifetime:
   Only Wimps use MS windows
   Toughs use Linux:-)
******************************************************************

On Sun, 5 Sep 1999, Duncan Coutts wrote:

> I know the standard gcc inline assembler uses the AT&T syntax rather than
> the more common intel notation. I suspect (but an no sure) that the inline
> assembler is not very recent and does not support new instructions eg MMX,
> P6 or 3DNOW (I noticed that it doesn't even support segment override
> prefixes! - see farptr.h).
> My question therefore is what is the best way to include assembly (including
> new instruction sets - MMX in particular) into my programs. Also, I don't
> suppose there is any chance of inlining instead of linking?
> My aim is to optimise the rendering and geometric transformation routines in
> my 3D engine using MMX instructions.
> 
> Thanks in advance for any suggestions.
> 
> 
> 
> 

- Raw text -


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