_R2
#define LIS_R2 (PPC_RAW_LIS(_R2, 0))
#define ADDIS_R2_R12 (PPC_RAW_ADDIS(_R2, _R12, 0))
#define ADDI_R2_R2 (PPC_RAW_ADDI(_R2, _R2, 0))
#define PPC_INST_LD_TOC PPC_RAW_LD(_R2, _R1, R2_STACK_OFFSET)
if ((((uint32_t *)location)[0] & ~0xfffc) != PPC_RAW_LD(_R2, _R12, 0))
if (((uint32_t *)location)[1] != PPC_RAW_ADD(_R2, _R2, _R12))
((uint32_t *)location)[0] = PPC_RAW_ADDIS(_R2, _R12, PPC_HA(value));
((uint32_t *)location)[1] = PPC_RAW_ADDI(_R2, _R2, PPC_LO(value));
PPC_RAW_ADDIS(_R11, _R2, 0),
PPC_RAW_STD(_R2, _R1, R2_STACK_OFFSET),
PPC_RAW_LD(_R2, _R11, 40),
PPC_RAW_LD(_R2, _R12, -8)) &&
PPC_RAW_ADD(_R2, _R2, _R12)))
EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc)))
EMIT(PPC_RAW_LD(_R2, _R1, 24));
EMIT(PPC_RAW_STD(_R2, _R1, 24));
EMIT(PPC_RAW_LD(_R2, _R1, 24));
EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc)));
EMIT(PPC_RAW_ADDIS(_R12, _R2, PPC_HA(reladdr)));
EMIT(PPC_RAW_LD(_R2, bpf_to_ppc(TMP_REG_2), 8));
EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc)));