SM64 OPTIMIZATION DISCOVERED:
as it turns out, the N64's CPU has a unique obscure instruction called "MMAR". this instruction was specifically designed to process all of mario's movement code in one cycle. the retail game DOES NOT use this instruction, as GCC opts to compile it all manually instead.