This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49442] [4.5/4.6/4.7 Regression] Misaligned store support pessimization


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]