Ramana wrote:
The error is caused by unaligned vector load via two vldr instructions:

So, does this mean that we get unaligned vector loads
when munaligned-access is on, using vldr instructions ?

No, when -munaligned-access is on, the backend will enable movmisalign patterns that generate friendly vst1/vld1 instructions (well, at least on little-endian ARMs).

Cause for this error is, even when -mno-unaligned-access is enabled,
backend will inform vectorizer that it supports misaligned accesses
via TARGET_VECTORIZE_SUPPORT_VECTOR_MISALIGNMENT.

Ramana wrote:
Attached patch fixes this. Is this OK for trunk?

How has it been tested ?

I was hoping Linaro people could run their magical cbuild on it...

-Y

Reply via email to