Lines Matching refs:r2
183 #define DIF_OP_OR 1 /* or r1, r2, rd */
184 #define DIF_OP_XOR 2 /* xor r1, r2, rd */
185 #define DIF_OP_AND 3 /* and r1, r2, rd */
186 #define DIF_OP_SLL 4 /* sll r1, r2, rd */
187 #define DIF_OP_SRL 5 /* srl r1, r2, rd */
188 #define DIF_OP_SUB 6 /* sub r1, r2, rd */
189 #define DIF_OP_ADD 7 /* add r1, r2, rd */
190 #define DIF_OP_MUL 8 /* mul r1, r2, rd */
191 #define DIF_OP_SDIV 9 /* sdiv r1, r2, rd */
192 #define DIF_OP_UDIV 10 /* udiv r1, r2, rd */
193 #define DIF_OP_SREM 11 /* srem r1, r2, rd */
194 #define DIF_OP_UREM 12 /* urem r1, r2, rd */
197 #define DIF_OP_CMP 15 /* cmp r1, r2 */
221 #define DIF_OP_SCMP 39 /* scmp r1, r2 */
228 #define DIF_OP_SRA 46 /* sra r1, r2, rd */
241 #define DIF_OP_COPYS 59 /* copys r1, r2, rd */
368 #define DIF_INSTR_FMT(op, r1, r2, d) \
369 (((op) << 24) | ((r1) << 16) | ((r2) << 8) | (d))
373 #define DIF_INSTR_CMP(op, r1, r2) (DIF_INSTR_FMT(op, r1, r2, 0))
386 #define DIF_INSTR_PUSHTS(op, t, r2, rs) (DIF_INSTR_FMT(op, t, r2, rs))
390 #define DIF_INSTR_COPYS(r1, r2, d) (DIF_INSTR_FMT(DIF_OP_COPYS, r1, r2, d))