This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66852] vmovdqa instructions issued on 64-bit aligned array, causes segfault
- From: "noloader at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Jul 2015 10:34:03 +0000
- Subject: [Bug c++/66852] vmovdqa instructions issued on 64-bit aligned array, causes segfault
- Auto-submitted: auto-generated
- References: <bug-66852-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66852
--- Comment #10 from Jeffrey Walton <noloader at gmail dot com> ---
(In reply to Richard Biener from comment #6)
> So I suppose the IsAligned template is wrong.
So I'm clear (please forgive my ignorance)...
According to http://www.felixcloutier.com/x86/MOVDQA.html, vmovdqa requires
values double quad word alignment (16-byte). A word64 is aligned on 8-bytes,
and does not meet the precondition to use the instruction. Naively, that seems
like a problem to me.
Will that create problems with GCC and vectorizations?