d599df9587
add rd, pc, #foo - . - 8 -> adr rd, foo ldr rd, [pc, #foo - . - 8] -> ldr rd, foo Also, when saving the return address for a function pointer call, use "mov lr, pc" just before the call unless the return address is somewhere other than just after the call site. Finally, a few obvious little micro-optimisations like using LDR directly rather than ADR followed by LDR, and loading directly into PC rather than bouncing via R0. |
||
---|---|---|
.. | ||
genassym.cf | ||
sa11x0_com.c | ||
sa11x0_comreg.h | ||
sa11x0_comvar.h | ||
sa11x0_dmacreg.h | ||
sa11x0_gpioreg.h | ||
sa11x0_io_asm.S | ||
sa11x0_io.c | ||
sa11x0_irq.S | ||
sa11x0_irqhandler.c | ||
sa11x0_mcpreg.h | ||
sa11x0_ost.c | ||
sa11x0_ostreg.h | ||
sa11x0_ppcreg.h | ||
sa11x0_reg.h | ||
sa11x0_sspreg.h | ||
sa11x0_var.h | ||
sa11x0.c | ||
sa11x1_pcic.c | ||
sa11x1_pcicreg.h | ||
sa11xx_pcic.c | ||
sa11xx_pcicreg.h | ||
sa11xx_pcicvar.h | ||
sa1111_reg.h | ||
sa1111_var.h | ||
sa1111.c |