D | cpu_asm.h | 126 #define ASM_11I(opcode, rd, rs, simm) ((opcode) + \ argument 129 ((simm) & 0xffff)) 130 #define ASM_11IF(opcode, rd, rs, simm) ((opcode) + \ argument 133 ((simm) << 11)) 182 #define ASM_ADDI(rd, rs, simm) ASM_11I(OP_ADDI, rd, rs, simm) argument 184 #define ASM_STW(rd, rs, simm) ASM_11I(OP_STW, rd, rs, simm) argument 185 #define ASM_LWZ(rd, rs, simm) ASM_11I(OP_LWZ, rd, rs, simm) argument 199 #define ASM_LMW(rd, rs, simm) ASM_11I(OP_LMW, rd, rs, simm) argument 200 #define ASM_STMW(rd, rs, simm) ASM_11I(OP_STMW, rd, rs, simm) argument 201 #define ASM_LSWI(rd, rs, simm) ASM_11IF(OP_LSWI, rd, rs, simm) argument [all …]
|