Subject: Re: port-mips/26959: mips mc_cpuspeed() returns wrong value on gcc3
To: None <simonb@wasabisystems.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 09/23/2004 03:17:47
simonb@wasabisystems.com wrote:
> It was obviously put together a bit too hastily. Sorry about that.
No problem,
> The "24" is a part of the ABI - it's room for 4 argument regs, the stack
> and ra. There's a constant in <mips/asm.h> called CALLFRAME_SIZ we can
> use.
...and thank you for explanation :-)
> Can you try the following? The other change is move the "iters = 0"
> into the delay slot.
Works fine. Please commit it (with proper copyright terms :-)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp