Refactor SPRG instructions.