Subject: Re: gcc inline asm help?
To: Kailash Sethuraman <hsaliak@gmail.com>
From: Jeff Rizzo <riz@redcrowgroup.com>
List: port-i386
Date: 04/14/2005 13:10:21
On Thu, Apr 14, 2005 at 04:08:55PM +0730, Kailash Sethuraman wrote:
> Hi,
> I am no expert on this but I do have limited experience with inline asm.
> >From what I can see, the error 
> 
> > > sci.c:91: error: impossible constraint in `asm' 
> 
> probably comes with the constraint
> "=ax" and similar being specified in the inline asm block. To my
> limited knowledge this is incorrect. To specify that the output is to
> the ax register, the constraint would have to be "=a".

Thanks for your response!  Sure enough, this allows the package to compile
for me.  I will ask the person I said I'd look into this for to see if
it works at least as well for him as the NetBSD-1.6 compiled version.

I've appended the patch to PR#25760, so it won't get lost.

+j