Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2000 09:08:27 +0100
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Wilko Bulte <wkb@freebie.demon.nl>, Mike Eldridge <diz@cafes.net>, freebsd-current@freebsd.org
Subject:   Re: Patch for current on LCA based alphas
Message-ID:  <20001130090827.A48030@cicely8.cicely.de>
In-Reply-To: <14885.47251.351690.423382@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Wed, Nov 29, 2000 at 09:23:40PM -0500
References:  <20001125193430.A40717@cicely8.cicely.de> <Pine.LNX.4.10.10011271439450.21970-100000@mail.cafes.net> <20001127224321.F1846@freebie.demon.nl> <20001128014038.A44759@cicely8.cicely.de> <14885.23282.73569.898582@grasshopper.cs.duke.edu> <20001130011503.A47460@cicely8.cicely.de> <14885.47251.351690.423382@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 29, 2000 at 09:23:40PM -0500, Andrew Gallatin wrote:
> 
> Bernd Walter writes:
>  > Just to be clear the values given to lca_read_config were:
>  > b=0, s=20, f=0, reg=0, width=4
>  > That means b in LCA_CFGOFF is false and the second formular will be applied.
>  > The first part is 1<<n while n is calculated to be 31 in our case and
>  > this makes -1 for int - your theory seems to be right.
>  > But are you shure that changing our variables to unsigned will help?
>  > Don't we need to make '1' unsigned?
> 
> I thought so at first too, but it was never unsigned and it worked
> until recently..  And the same fix fixes a nearly identical panic on
> another platform, so I'm betting this is it ;) 

Just another point:
We don't have a negative value but still an overflow with s=21 to s=31.
From my understanding we really should have a 64 bit value to get acurate
results.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de



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?20001130090827.A48030>