Merge "GenArithOpInt should ensure that reg is in core"