> > I agree that this is a sledgehammer. If aligned/unaligned loads/stores have > the same cost then reflect that in the vectorized stmt cost hook. If that > alone does not prevent peeling for alignment to happen then the fix is to > not consider doing peeling for alignment if aligned/unaligned costs are the > same, not adding a new hook.
Note that I think Core has similar characteristics - at least for string operations it fares well with unalignes accesses. Honza