Subject: Re: Possible to use the bundled toolchain?
To: None <firstname.lastname@example.org>
From: UCHIYAMA Yasushi <email@example.com>
Date: 05/10/2002 22:52:06
| Is this just an optimization issue (slower code from mipsel compiler), or
| does the standard mipsel compiler produce broken code (kernel panics)?
Not optimization issue. It's work around for CPU bug.
mipsEEel-netbsd-gcc pad extra nop for short-loop. But sssembler
source is not fixed, I have added following fix manually.
#if defined(MIPS3_5900) /* work around for branch prediction miss. */
addu t2, t2, 1
and t1, t0, 1 # bit set?
beq t1, zero, 1b
srl t0, t0, 1 # try next bit