Subject: Re: old /usr/bin/as forces me not to upgrade avifile-devel
To: Tomasz Luchowski <zuntum@netbsd.org>
From: Krister Walfridsson <cato@df.lth.se>
List: current-users
Date: 09/05/2001 23:00:15
On Mon, 3 Sep 2001, Tomasz Luchowski wrote:
> Hi,
>
> After libmmx has been added to avifile-0.6, it no longer compiles on my
> NetBSD 1.5.1/i386. I get this error:
>
> {standard input}: Assembler messages:
> {standard input}:158: Error: no such 386 instruction: `femms'
> {standard input}:256: Error: no such 386 instruction: `femms'
The source has a line looking something like
__asm__ __volatile__ ("femms;");
The easiest way to make this work for older assemblers is to change it to
an equivalent assembler directive
__asm__ __volatile__ (".short 0x0e0f");
/Krister