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 target/43225] Structure copies not vectorized



------- 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


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