This is the mail archive of the gcc-help@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: generating unaligned vector load instructions?


Hello Tim,

can you specify which versions, maybe post the commandline, or trying to compile for 32bit (-m32 switch)? Also I dont understand the comment about splitting - to avoid misunderstanding - the generated code segfaults on my AthlonX2 so its not a question about optimal code, but actually working one

Im unable to generate the right instruction, and I dont exactly know why it should differ between versions (... except bugs of course...). And I just want to know the right way to force unaligned loads, without inline assembly.

Btw: The code doesnt compile on gcc < 4.7 as I just realised - cant multipy vector with scalars on older versions.


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