Richard Sandiford <rsandifo@redhat.com> 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
older kernels:
> + if (((ctx->fcr31 & cond) != 0) == ((MIPSInst_RT(ir) & 1) != 0))
^^^^^ sr
> + xcp->regs[MIPSInst_RD(ir)] = xcp->regs[MIPSInst_RS(ir)];
(Ralf renamed things on 20030720, according to the cvsweb.)
Thanks again,
--
Greg Roelofs `Name an animal that's small and fuzzy.' `Mold.'
Philips Semiconductors greg.roelofs@philips.com
|