Date: Wed, 27 Oct 1999 10:05:26 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Peter Yan cc: djgpp AT delorie DOT com Subject: Re: CPUID? In-Reply-To: Message-ID: 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.