Support conditional register cache flushing on ARMv7.
Similar to PR #451, but for ARM as well.
Merge pull request #474 from Sonicadvance1/conditional-branch

Support conditional register cache flushing on ARMv7.