https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43225
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Target Milestone|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43225
--- Comment #4 from Alexander Strange 2011-03-29
20:39:28 UTC ---
Better source:
#include
struct a1 { char l[16];} __attribute__((aligned));
struct a2 { __m128i l; } __attribute__((aligned));
void f1(struct a1 *a, struct a1 *b)
{
*a = *b;
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-02 12:15 ---
It's not really the vectorizers job to do this optimization but that of the
expander.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43225
--- Comment #2 from astrange at ithinksw dot com 2010-03-02 05:31 ---
-fdump-tree-slp-details:
copy_gcc.c:8: note: ===vect_slp_analyze_bb===
copy_gcc.c:8: note: === vect_analyze_data_refs ===
Creating dr for *b_2(D)
analyze_innermost: success.
base_address: b_2(D)
offset
--- Comment #1 from pinskia at gmail dot com 2010-03-02 05:24 ---
Subject: Re: New: Structure copies not vectorized
Sent from my iPhone
On Mar 1, 2010, at 8:23 PM, "astrange at ithinksw dot com"
wrote:
> Source:
>
> #include
>
> struct a1 { char l[16];};
Are sure that struct ha