[Bug tree-optimization/38011] vectorizer ignores alignment, useless versioning

2013-03-27 Thread rguenth at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38011



Richard Biener  changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||INVALID



--- Comment #2 from Richard Biener  2013-03-27 
12:35:44 UTC ---

Not true - you aligned the pointer, not the data it points to.  There isn't

a good way to do that with an aligned attribute, the closest you can get at

is with



typedef double aligned_double __attribute__((aligned (16)));

void assignMultiplyVec(aligned_double* restrict a, aligned_double* restrict b,

   double coef, unsigned count)

{

  for(unsigned i=0; i

[Bug tree-optimization/38011] vectorizer ignores alignment, useless versioning

2012-07-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38011

Richard Guenther  changed:

   What|Removed |Added

 Blocks||53947

--- Comment #1 from Richard Guenther  2012-07-13 
08:56:00 UTC ---
Link to vectorizer missed-optimization meta-bug.


[Bug tree-optimization/38011] vectorizer ignores alignment, useless versioning

2008-11-04 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|minor   |enhancement
  Component|c   |tree-optimization
   Keywords||missed-optimization


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38011