Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 16:44:35 -0400 (EDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Alan Cox <alc@cs.rice.edu>, <alpha@FreeBSD.ORG>, <jeff@FreeBSD.ORG>, <obrien@FreeBSD.ORG>
Subject:   Re: gcc3 & alpha kernels
Message-ID:  <20020510164149.M49378-100000@mail.chesapeake.net>
In-Reply-To: <15580.11242.459728.984239@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 May 2002, Andrew Gallatin wrote:

>
> Alan Cox writes:
>  > >
>  > > Did Jeff see a lockup at boot?  Or was this on a running system?
>  >
>  > I believe it was at boot time.  I can't swear to that, however.
>  >
>
> Thanks..  that's the same as me.  It would seem that the new compiler
> is botching the atomic inlines then.
>
> Hmm..  According to the disassembly, it looks like the correct
> sequences are there, though..
>
> Drew
>

It was at boot time.  I believe that this was the first time we ever did
negative atomic ints on alpha.  This was with the old compiler as well.  I
haven't looked at the gcc3 output.

When I looked at the assembly it was pretty clear that the inline wasn't
written to support non sign extended values.  If you change the prototype
the signed int everything works as expected though.

Jeff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020510164149.M49378-100000>