From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 15 19:42:04 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73B4816A4E8 for ; Wed, 15 Dec 2004 19:42:04 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AF6543D64 for ; Wed, 15 Dec 2004 19:42:03 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 38901 invoked from network); 15 Dec 2004 19:30:42 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 15 Dec 2004 19:30:42 -0000 Message-ID: <41C0938B.C8583768@freebsd.org> Date: Wed, 15 Dec 2004 20:42:03 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Jeremy References: <41C04593.5070703@freebsd.org> <20041215183856.GI79646@cirb503493.alcatel.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers Subject: Re: embedded assembler in .c files X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 19:42:04 -0000 Peter Jeremy wrote: > > On Wed, 2004-Dec-15 15:09:23 +0100, Andre Oppermann wrote: > >I'm trying to access an assembler CPU instructions from within a normal > >.c file and function. Unfortunatly I have no idea how this works. > > info gcc "c ext" ext > > You might also find the relevant /usr/src/contrib/gcc/config/*/*.md useful. Thanks everyone! With the help of Andrey Simonenko and Ruslan Ermilov I got it together. -- Andre