Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should I "manualy unfold" LoadUnaligned" function?



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

References: 
 >Should I "manualy unfold" LoadUnaligned" function? (From: Rustam Muginov <email@hidden>)
 >Re: Should I "manualy unfold" LoadUnaligned" function? (From: Sanjay Patel <email@hidden>)
 >Re: Should I "manualy unfold" LoadUnaligned" function? (From: Rustam Muginov <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.