SPRN_SPRG2
#define SPRN_SPRG_SCRATCH0 SPRN_SPRG2
#define SPRN_SPRG_TLB_EXFRAME SPRN_SPRG2
#define SPRN_SPRG_SCRATCH2 SPRN_SPRG2
#define SPRN_SPRG_RSCRATCH_CRIT SPRN_SPRG2
#define SPRN_SPRG_WSCRATCH_CRIT SPRN_SPRG2
#define SPRN_SPRG_SCRATCH2 SPRN_SPRG2
case KVM_INST_MFSPR(SPRN_SPRG2):
case KVM_INST_MTSPR(SPRN_SPRG2):
mtspr(SPRN_SPRG2, vcpu->arch.shregs.sprg2);
vcpu->arch.shregs.sprg2 = mfspr(SPRN_SPRG2);
case SPRN_SPRG2:
case SPRN_SPRG2:
instrs[i++] = PPC_RAW_MTSPR(SPRN_SPRG2, _R13);
instrs[i++] = PPC_RAW_MFSPR(_R13, SPRN_SPRG2);
mfspr(SPRN_DEC), mfspr(SPRN_SPRG2));