On Wed, 2 Nov 2005, Rustam Muginov wrote:
> Could you please advice some info/references about how to store
> unaligned data from loops?
>
Arguably the best advice is "not at all". In other words, you should avoid
the case of unaligned stores. Instead, use a scalar loop for a few initial
array elements until the destination address is aligned. Then proceed with
aligned vector stores.
If you know that the memory past the array borders is safe to be read
without page faults, you can handle the unaligned head and tail of the
array with vector computation, an a loop of element-wise stores (see
vec_ste).
Holger
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden
This email sent to email@hidden