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] Use sufficient alignment when expanding VCE (PR target/35366)



On Nov 11, 2008, at 10:40, Richard Guenther wrote:
Is it always possible to force the alignment of the inner object? I think
the same problem may exist for V_C_E <double> (*p) when we cannot
influence the alignment of *p. So shouldn't we make sure to have the
correct MEM_ALIGN instead? Or does it work in that case already?

V_C_E is about reinterpreting values, not memory objects. So, in the case where *p has a lesser alignment than a double, V_C_E would load *p using instructions suitable for the type of *p, like two 32-bit word loads.

-Geert


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