[Bug sanitizer/84508] Load of misaligned address using _mm_load_sd
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 28 02:09:02 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84508
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>According to Intel (
> https://software.intel.com/sites/landingpage/IntrinsicsGuide), there are no
> alignment requirements for _mm_load_sd, _mm_store_sd and _mm_loaddup_pd. For
> example, from _mm_load_sd:
I disagree with saying there is no alignment requirement.
The alignment requirement comes from the type of the argument (double const*).
So either the intrinsics definition needs to be changed to be correct or GCC is
correct.
Pointers themselves have an alignment requirement not just at the time of the
load/store of them.
More information about the Gcc-bugs
mailing list