Date: Sat, 16 May 1998 10:53:44 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: alk@pobox.com, current@FreeBSD.ORG Subject: Re: as chokes on cc output Message-ID: <199805161453.KAA02606@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> I'm getting messages like so: > /var/tmp/ccro2473.s:26621: Error: operands given don't match any known 386 instruction > from asm lines like so: > #APP > fldln2; fxch; fyl2x > #NO_APP > in gcc-generated code. I'm clueless w.r.t. intel asm code and binutils. What's > the deal? It's a bug, anyhow. 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"); -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805161453.KAA02606>