Lines Matching refs:src2

46 	sljit_s32 dst, sljit_s32 src1, sljit_s32 src2)  in emit_single_op()  argument
56 if (dst != src2) in emit_single_op()
57 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); in emit_single_op()
65 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
66 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 24)); in emit_single_op()
69 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
71 SLJIT_ASSERT(dst == src2); in emit_single_op()
80 return push_inst(compiler, EXTSH | S(src2) | A(dst)); in emit_single_op()
81 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 16)); in emit_single_op()
84 SLJIT_ASSERT(dst == src2); in emit_single_op()
90 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op()
94 FAIL_IF(push_inst(compiler, NEG | D(TMP_REG1) | A(src2))); in emit_single_op()
95 FAIL_IF(push_inst(compiler, AND | S(src2) | A(dst) | B(TMP_REG1))); in emit_single_op()
105 …turn push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
110 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
125 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
130 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
132 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
133 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
136 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
146 FAIL_IF(push_inst(compiler, CMPL | CRD(0) | A(src1) | B(src2))); in emit_single_op()
149 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
159 FAIL_IF(push_inst(compiler, CMP | CRD(0) | A(src1) | B(src2))); in emit_single_op()
162 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
168 …return push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src… in emit_single_op()
169 return push_inst(compiler, NEG | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2)); in emit_single_op()
174 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
180 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
184 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
187 return push_inst(compiler, SUBF | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
188 return push_inst(compiler, NEG | RC(ALT_SET_FLAGS) | D(dst) | A(src2)); in emit_single_op()
191 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
195 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
198 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
202 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
206 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
209 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
213 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
217 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
221 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
227 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
231 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
235 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
239 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
247 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
249 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
254 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
260 FAIL_IF(push_inst(compiler, ANDI | S(src2) | A(TMP_REG2) | 0x1f)); in emit_single_op()
261 src2 = TMP_REG2; in emit_single_op()
264 return push_inst(compiler, SLW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
269 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
276 FAIL_IF(push_inst(compiler, ANDI | S(src2) | A(TMP_REG2) | 0x1f)); in emit_single_op()
277 src2 = TMP_REG2; in emit_single_op()
280 return push_inst(compiler, SRW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
285 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
291 FAIL_IF(push_inst(compiler, ANDI | S(src2) | A(TMP_REG2) | 0x1f)); in emit_single_op()
292 src2 = TMP_REG2; in emit_single_op()
295 return push_inst(compiler, SRAW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
300 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
311 FAIL_IF(push_inst(compiler, SUBFIC | D(TMP_REG2) | A(src2) | 0)); in emit_single_op()
312 src2 = TMP_REG2; in emit_single_op()
315 return push_inst(compiler, RLWNM | S(src1) | A(dst) | B(src2) | RLWI_MBE(0, 31)); in emit_single_op()