4xx - a question and a patch
Dan Malek
dan at mvista.com
Wed Sep 5 05:50:21 EST 2001
David Gibson wrote:
>
> First the question: is there a good reason that set_dec() is a no-op
> on 4xx, rather than setting the PIT?
Yes. The PIT is far from a perfect approximation of the decrementer.
When you "set the PIT" you actually set the reload register, not the
value that is decrementing.
> Second a patch - the below adds floating point emulation to the 4xx.
Got it. Thanks. Since we now have libraries built specially for
processors without floating point, emulation isn't necessary. Try
them out.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list