Date: Wed, 27 Oct 1999 10:05:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Peter Yan <peteryen AT idirect DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: CPUID?
In-Reply-To: <JewR3.19680$jF3.157595@quark.idirect.com>
Message-ID: <Pine.SUN.3.91.991027100252.27176O-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk


On Wed, 27 Oct 1999, Peter Yan wrote:

> Does djgpp supports new instructions such as CPUID?

I think it does.

> How to use it?

Either write an assembly function, or use the inline assembly facility of 
the compiler to put a fragment of assembly code into a C program.

> I heard
> that djgpp use so-called AT&T x86 inline assembler - oh my god! What is it?

This is explained in the FAQ.  Section 17.1 there explains what is the 
AT&T assembly syntax, and section 18.13 deals with inline assembly 
facilities of GCC.