[PATCH] D20617: [X86][SSE] _mm_store1_ps/_mm_store1_pd should require an aligned pointer
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Wed May 25 08:27:23 PDT 2016
RKSimon added a comment.
In http://reviews.llvm.org/D20617#439200, @craig.topper wrote:
> Can you double check gcc's xmmintrin.h again. I'm pretty sure _mm_store1_ps
> is calling _mm_storeu_ps.
Yes you're right - for gcc _mm_store1_pd is aligned (and there is a comment saying it must be), but _mm_store1_ps is unaligned. The intel intrinsics docs and msvc codegen both set both ps and pd versions to aligned store though.
If you wish I can just do the pd fixes - we are alone in doing a extract + 2*movsd - the rest all use shufpd+movapd
Suggestions for ps?
Repository:
rL LLVM
http://reviews.llvm.org/D20617
More information about the cfe-commits
mailing list