You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arm has no aligned loads/stores, so this does nothing.
On modern x86 (I don't know how modern we talking) it's not recommended to use aligned operations.
Compiler can recognise __assume aligned and such if someone really wants it.
I believe you mentioned at some point that in your code you just call memcpy all the time.
So, how about we drop everything about alignment on loads stores?
Note: eve has aligned loads but it's because we know that when the pointer is aligned we don't need to do any masking on loads. I am not sure if the compiler is allowed to do that and even if its, "assume_aligned" should be good enough.
The text was updated successfully, but these errors were encountered:
This is a suggestion for simplification.
Arm has no aligned loads/stores, so this does nothing.
On modern x86 (I don't know how modern we talking) it's not recommended to use aligned operations.
Compiler can recognise __assume aligned and such if someone really wants it.
I believe you mentioned at some point that in your code you just call memcpy all the time.
So, how about we drop everything about alignment on loads stores?
Note: eve has aligned loads but it's because we know that when the pointer is aligned we don't need to do any masking on loads. I am not sure if the compiler is allowed to do that and even if its, "assume_aligned" should be good enough.
The text was updated successfully, but these errors were encountered: