[Info-vax] SAMBA really sloooow on OVMS Integrity. Any Ideas????
Bob Koehler
koehler at eisner.nospam.encompasserve.org
Wed Aug 18 13:50:49 EDT 2010
In article <EeCdnadx38FyZvbRnZ2dnUVZ_h2dnZ2d at earthlink.com>, "John Reagan" <johnrreagan at earthlink.net> writes:
>
> I would not say that is the best way. For such stores, you have to worry
> about other pieces of code using bytes near your unaligned variable.
If I'm writing code then I have control over what code is accessing
what locations. Compilers on Alpha and Itanium will align variables
if not told otherwise, which means that those odd bytes will probably
be unused.
>
> The best solution is to use byte and word sized instructions. You store
> only the data you want and no alignment faults.
Yeah, right. Try that on an EV4. Even on other processors, I'm not
going to do byte or word accesses to fetch a 16 byte datum if I can
let the compiler align the data.
More information about the Info-vax
mailing list