This is the mail archive of the gcc-patches@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]

[autovect] [patch] cleanup vectorizable_load function


Handling of aligned and unaligned loads can be largely unified, resulting
in a more readable code and avoids code duplication. (This cleanup is in
preparation to merging functionality to mainline.)

Bootstrapped with vectorization enabled and tested on the vectorizer
testcases on powerpc-linux, committed to autovect-branch.

dorit

2006-02-06  Dorit Nuzman  <dorit@il.ibm.com>

        * tree-vect-transform.c (vect_setup_realignment): New function.
        (vectorizable_load): Replace code that was factored out into
        vect_setup_realignment with a call to vect_setup_realignment.
        Unify handling of alignd and unaligned load.

(See attached file: unify_load.feb7)

Attachment: unify_load.feb7
Description: Binary data


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