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]

Re: [PATCH] misalignment and loop peeling (vectorizer)



On Feb 1, 2006, at 12:30 AM, Dorit Nuzman wrote:


DR_MISALIGNMENT is probably what you want to use - that's where the
misalignment of the first access in the loop is stored, and what peeling
tries to align (it's -1 if it's unknown at compile time).

IIUC, DR_OFFSET_MISALIGNMENT also represents the same thing. One is an int value, where as DR_OFFSET_MISALIGNMENT is a tree node. Is there any other difference between these two? Either way it is fine for me.


Also, do you have a testcase to commit with this patch?

Yes. The one I included for mainline (vect-align-1.c) is also meant for autovect-branch.


-
Devang


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