This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/78762] Regression: Splitting unaligned AVX loads also when AVX2 is enabled
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Dec 2016 13:03:28 +0000
- Subject: [Bug target/78762] Regression: Splitting unaligned AVX loads also when AVX2 is enabled
- Auto-submitted: auto-generated
- References: <bug-78762-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78762
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, it seems the unaligned load splitting is there because of
sandybridge?
DEF_TUNE (X86_TUNE_AVX256_UNALIGNED_LOAD_OPTIMAL, "256_unaligned_load_optimal",
~(m_NEHALEM | m_SANDYBRIDGE | m_GENERIC))
Though the Nehalem in there is weird, there weren't any Nehalem CPUs with AVX
support, right? And if it is just something for Sandybridge which doesn't
support AVX2, then either for AVX2 we should use a different tuning parameter
(which might be set for all CPUs?), or do the ISA specific generic tuning.