This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49442] [4.5/4.6/4.7 Regression] Misaligned store support pessimization
- 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: Tue, 21 Jun 2011 12:51:44 +0000
- Subject: [Bug tree-optimization/49442] [4.5/4.6/4.7 Regression] Misaligned store support pessimization
- Auto-submitted: auto-generated
- References: <bug-49442-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49442
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-21 12:50:11 UTC ---
Created attachment 24572
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24572
gcc47-assume-aligned.patch
Current version of the __builtin_assume_aligned support. On top of the
previous
patch.
Still unfinished areas:
1) vectorizer/data-refs unfortunately ignores the computed alignment,
should use get_pointer_alignment/get_object_alignment.
2) it would be nice if the builtin was special cased in the C/C++ FEs and
acted like
template <typename T> T __builtin_assume_aligned (T, size_t, ...);
(for pointer types only) instead of
void *__builtin_assume_aligned (const void *, size_t, ...);
3) testcases need to be added.