On Sun, 5 Sep 1999, Philip Blundell wrote:
> I'm also not convinced by your other arguments. In terms of code density I
> think SWIs are fairly irrelevant. A typical program doesn't contain any at
> all, and even the libc doesn't have all that many - it's just that the few
> that do exist are executed rather frequently. In terms of execution time, I
> suspect a two-halfword instruction would also lose out. The kernel would have
> to load it with two LDRH instructions since the alignment is unknown, then
> mask and combine the two parts. I think that is going to be worse than just
> loading a constant into the work register, particularly when you take into
> account cache effects.
Right, I think I agree. Thanks for your thoughts,
- Ben.
-------------------------------------------------------------------
Ben Williamson [EMAIL PROTECTED] http://www.pobox.com/~benw/
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]