PPC_RAW_ORI
#define PPC_RAW_NOP() PPC_RAW_ORI(0, 0, 0)
patch_instruction(addr, ppc_inst(PPC_RAW_ORI(reg, reg, PPC_LO(val))));
patch_instruction(addr++, ppc_inst(PPC_RAW_ORI(reg, reg, PPC_HIGHER(val))));
patch_instruction(addr, ppc_inst(PPC_RAW_ORI(reg, reg, PPC_LO(val))));
instrs[i++] = PPC_RAW_ORI(_R31, _R31, 0); /* speculation barrier */
instrs[i++] = PPC_RAW_ORI(_R31, _R31, 0); /* speculation barrier */
instrs[i++] = PPC_RAW_ORI(_R31, _R31, 0); /* speculation barrier */
instrs[i++] = PPC_RAW_ORI(_R30, _R30, 0); /* L1d flush */
instrs[i++] = PPC_RAW_ORI(_R31, _R31, 0); /* speculation barrier */
instrs[i++] = PPC_RAW_ORI(_R30, _R30, 0); /* L1d flush */
instrs[i++] = PPC_RAW_ORI(_R31, _R31, 0); /* speculation barrier */
instrs[i++] = PPC_RAW_ORI(_R30, _R30, 0); /* L1d flush */
instr = PPC_RAW_ORI(_R31, _R31, 0); /* speculation barrier */
EMIT(PPC_RAW_ORI(d, d, (uintptr_t)(i) & \
EMIT(PPC_RAW_ORI(d, d, IMM_L(i))); \
EMIT(PPC_RAW_ORI(d, d, \
EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func)));
EMIT(PPC_RAW_ORI(dst_reg, src2_reg, IMM_L(imm)));
EMIT(PPC_RAW_ORI(dst_reg, dst_reg, IMM_L(imm)));
EMIT(PPC_RAW_ORI(_R31, _R31, 0));
EMIT(PPC_RAW_ORI(_R31, _R31, 0));