[LLVMdev] Use of 'ldrd' instructions with unaligned addresses on armv7 (Major bug in LLVM optimizer?)
Joe Groff
arcata at gmail.com
Tue Jan 24 09:43:59 PST 2012
On Tue, Jan 24, 2012 at 8:36 AM, Esperanza de Escobar
<esperanzitadeescobar at gmail.com> wrote:
> You can measure its damage pretty significantly, though. We've already
> spent a lot of hours tracking down unaligned accesses and wrapping
> them in assembly macros. Which of course ends up disabling other,
> actually useful optimizations. And with a large codebase, we can't be
> sure we've found every last one yet.
Instead of resorting to assembler, have you tried __attribute__((align(n))) ?
-Joe
More information about the llvm-dev
mailing list