On Wed, Jan 11, 2012 at 10:27 PM, Lv Terry-R65388 r65388@freescale.com wrote:
Hi Michael,
By adding -mno-unaligned-access, kernel can start now.
I've another question, Does this option have some impact on performance?
Hi Terry. It should improve things. Before this patch the compiler would emit the instructions to do a byte-by-byte load and recombine these into the final word. With this patch it does a single load and lets the hardware sort it out.
-- Michael