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. |
||
---|---|---|
.. | ||
files.ixp12x0 | ||
ixp12x0_clk.c | ||
ixp12x0_clkreg.h | ||
ixp12x0_com_io.c | ||
ixp12x0_com.c | ||
ixp12x0_comreg.h | ||
ixp12x0_comvar.h | ||
ixp12x0_intr.c | ||
ixp12x0_io.c | ||
ixp12x0_irq.S | ||
ixp12x0_pci_dma.c | ||
ixp12x0_pci.c | ||
ixp12x0_pcireg.h | ||
ixp12x0.c | ||
ixp12x0reg.h | ||
ixp12x0var.h | ||
ixpsip_io.c | ||
ixpsip.c | ||
ixpsipvar.h |