From owner-freebsd-current Sat May 16 14:40:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA12055 for freebsd-current-outgoing; Sat, 16 May 1998 14:40:16 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp01.primenet.com (daemon@smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA12047 for ; Sat, 16 May 1998 14:40:11 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id OAA08697; Sat, 16 May 1998 14:40:09 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp01.primenet.com, id smtpd008673; Sat May 16 14:40:07 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id OAA12522; Sat, 16 May 1998 14:40:03 -0700 (MST) From: Terry Lambert Message-Id: <199805162140.OAA12522@usr02.primenet.com> Subject: Re: as chokes on cc output To: peter@netplex.com.au (Peter Wemm) Date: Sat, 16 May 1998 21:40:03 +0000 (GMT) Cc: luoqi@watermarkgroup.com, alk@pobox.com, current@FreeBSD.ORG In-Reply-To: <199805161520.XAA04364@spinner.netplex.com.au> from "Peter Wemm" at May 16, 98 11:20:31 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > These are i387 instructions. The problem is that gas doesn't know fxch is > > a shorthand for fxch %st(1). Just add the parameter %st(1), like > > __asm__("fldln2; fxch %st(1); fyl2x"); > > Is the original line gcc generated code or an inline asm statement? If gcc > generated it, it should be a simple fix.. You mean "a simple fix to gas", right? 8-) 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message