Subject: Re: Strange C compiler code generation
To: Peter Teichmann <teich-p@Rcs1.urz.tu-dresden.de>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: port-arm32
Date: 02/24/2001 22:38:28
> Many 32-Bit-Loads were not done using a LDR instruction, but using 4 single
> LDRB instructions and 3 ORR instructions. Is that intended and if yes, why?
> Probably many NetBSD applications will be quite slow because of this!
>
> I could imagine one reason: 32 bit quantities are not necessarily 32 bit aligned
> in structures, but if that is really true, well, I better do not continue this
> thought!
Are your structures marked as packed? If not, what compilation flags are
being used?
R.