This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43225] Structure copies not vectorized
- From: "astrange at ithinksw dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2010 05:31:26 -0000
- Subject: [Bug target/43225] Structure copies not vectorized
- References: <bug-43225-10175@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 from base address: 0
constant offset from base address: 0
step: 0
aligned to: 128
base_object: *b_2(D)
Creating dr for *a_1(D)
analyze_innermost: success.
base_address: a_1(D)
offset from base address: 0
constant offset from base address: 0
step: 0
aligned to: 128
base_object: *a_1(D)
copy_gcc.c:8: note: not vectorized: no vectype for stmt: *a_1(D) = *b_2(D);
scalar_type: struct a1
copy_gcc.c:8: note: not vectorized: unhandled data-ref in basic block.
f1 (struct a1 * a, struct a1 * b)
{
<bb 2>:
*a_1(D) = *b_2(D);
return;
}
Though I tried it with __attribute__((aligned)) too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43225