At 12:15 AM 4/13/2001 +0200, Kai Henningsen wrote:
>[EMAIL PROTECTED] (Dan Sugalski) wrote on 12.04.01 in
><[EMAIL PROTECTED]>:
>
> > (No, I don't know why unaligned access to 8-bit data is faster, but there
> > you go)
>
>How *do* you unalign 8-bit data?!
(Must... resist... straight... line...)
On a RISC processor? Pretty easily. Alphas don't do byte access at the
lowest level--it's all big fetches with masks and shifts. Plus the
optimizer can get into the act at some point if it can see what you're
doing, and the code being added up was pretty simple. (It might've been
turned into a bunch of 32-bit fetche/mask/shift sets)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk