delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/08/23:07:04

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Thu, 8 Apr 2004 23:06:37 -0400
Message-Id: <200404090306.i3936bV0005400@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <84e4e2a9.0404081854.7d4c9633@posting.google.com>
(jbs30000 AT aol DOT com)
Subject: Re: FPU opcodes
References: <84e4e2a9 DOT 0404081854 DOT 7d4c9633 AT posting DOT google DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> First, a list of FPU commands in AT&T syntax.

The canonical list is in the GAS source code, specifically
src/include/opcode/i386.h

> And second, an example of using FPU in inline assembly.  I found a
> couple of examples at
> http://www.delorie.com/gnu/docs/gcc/gcc_66.html
> But I'd like a little more info if it's availible, thank you.

The DJGPP library sources are probably your best bet, although they're
more assembler files than anything else.  Install djlsr203.zip and
look in, for example, src/libc/ansi/math/*.S

Also, src/libemu/src/emu387.cc has a few inline asms.

- Raw text -


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