NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/45673: gcc on i386 current generates bad code for assembler code in lock.h
The following reply was made to PR toolchain/45673; it has been noted by GNATS.
From: "Kai-Uwe Eckhardt" <kuehro%gmx.de@localhost>
To: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
toolchain-manager%netbsd.org@localhost
Cc:
Subject: Re: toolchain/45673: gcc on i386 current generates bad code for
assembler code in lock.h
Date: Mon, 12 Mar 2012 17:59:27 +0100
> That restricts it more than necessary, doesn't it? I think the correct
> constraint here "=qQ", since both l and h registers are allowed.
>
> Joerg
Yes, you are right and I tested it successfully on amd64 with -m32
-march=i486 -mtune=nocona just to be sure. This is a bug of gcc in
my opinion, so can't be sure without trying ;-) Don't have a i386 system
handy to test it there before tomorrow.
Kai-Uwe
--
--
Home |
Main Index |
Thread Index |
Old Index