Try to reuse temp regs for better caching.