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. |
||
---|---|---|
.. | ||
isa | ||
dc21285mem.h | ||
dc21285reg.h | ||
footbridge_clock.c | ||
footbridge_com_io.c | ||
footbridge_com.c | ||
footbridge_intr.h | ||
footbridge_io.c | ||
footbridge_irq.S | ||
footbridge_irqhandler.c | ||
footbridge_machdep.c | ||
footbridge_pci.c | ||
footbridge.c | ||
footbridge.h | ||
footbridgevar.h | ||
genassym.cf | ||
Makefile | ||
todclock.c | ||
todclockvar.h |