Merge pull request #1607 from Sonicadvance1/armv7-optimizations A whole bunch of ARMv7 optimizations and minor fixes.