Richard Sandiford <firstname.lastname@example.org> wrote...
>> Does the patch below (against 2.6) fix things? Only the first hunk
>> is needed to fix the bug, the rest is just there for consistency.
> Oops! Serves me right for dabbling in new code. Only the first
> hunk is correct.
Yup, that does it! Many thanks. The only thing I had to change for
2.4.x was the name of the "fcr31" soft-struct member; it's "sr" in
> + if (((ctx->fcr31 & cond) != 0) == ((MIPSInst_RT(ir) & 1) != 0))
> + xcp->regs[MIPSInst_RD(ir)] = xcp->regs[MIPSInst_RS(ir)];
(Ralf renamed things on 20030720, according to the cvsweb.)
Greg Roelofs `Name an animal that's small and fuzzy.' `Mold.'
Philips Semiconductors email@example.com