Lines Matching refs:src2

123 		FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
124 src2 = TMP_REG2; \
134 FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
135 src2 = TMP_REG2; \
146 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument
152 if (dst != src2) in emit_single_op()
153 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); in emit_single_op()
161 return push_inst(compiler, EXTSW | S(src2) | A(dst)); in emit_single_op()
162 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 0)); in emit_single_op()
165 SLJIT_ASSERT(dst == src2); in emit_single_op()
174 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
175 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 24)); in emit_single_op()
178 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
180 SLJIT_ASSERT(dst == src2); in emit_single_op()
189 return push_inst(compiler, EXTSH | S(src2) | A(dst)); in emit_single_op()
190 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 16)); in emit_single_op()
193 SLJIT_ASSERT(dst == src2); in emit_single_op()
200 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
206 FAIL_IF(push_inst(compiler, RLDI(TMP_REG2, src2, 32, 31, 1))); in emit_single_op()
213 …h_inst(compiler, NEG | OE((flags & ALT_FORM1) ? ALT_SET_FLAGS : 0) | RC(flags) | D(dst) | A(src2)); in emit_single_op()
218 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op()
219 return push_inst(compiler, CNTLZD | S(src2) | A(dst)); in emit_single_op()
226 FAIL_IF(push_inst(compiler, RLDI(TMP_REG2, src2, 32, 31, 1))); in emit_single_op()
227 src2 = TMP_REG2; in emit_single_op()
230 …_IF(push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2))); in emit_single_op()
238 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
251 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
256 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
259 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
260 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
264 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
274 …FAIL_IF(push_inst(compiler, CMPL | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2))); in emit_single_op()
277 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
284 FAIL_IF(push_inst(compiler, RLDI(TMP_REG2, src2, 32, 31, 1))); in emit_single_op()
285 src2 = TMP_REG2; in emit_single_op()
288 …FAIL_IF(push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(sr… in emit_single_op()
296 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
302 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
305 return push_inst(compiler, CMP | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2)); in emit_single_op()
309 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
312 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
313 return push_inst(compiler, SUBF | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
317 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
321 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
326 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
327 return push_inst(compiler, MULLD | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
331 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
335 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
338 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
342 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
346 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
350 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
354 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
358 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
362 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
366 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
370 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
374 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
382 …rn push_inst(compiler, ((flags & ALT_FORM2) ? SLW : SLD) | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
386 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
394 …rn push_inst(compiler, ((flags & ALT_FORM2) ? SRW : SRD) | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
398 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
406 … push_inst(compiler, ((flags & ALT_FORM2) ? SRAW : SRAD) | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()