Lines Matching refs:src2

126 		FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
127 src2 = TMP_REG2; \
137 FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
138 src2 = TMP_REG2; \
149 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument
155 if (dst != src2) in emit_single_op()
156 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); in emit_single_op()
164 return push_inst(compiler, EXTSW | S(src2) | A(dst)); in emit_single_op()
165 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 0)); in emit_single_op()
168 SLJIT_ASSERT(dst == src2); in emit_single_op()
177 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
178 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 24)); in emit_single_op()
181 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
183 SLJIT_ASSERT(dst == src2); in emit_single_op()
192 return push_inst(compiler, EXTSH | S(src2) | A(dst)); in emit_single_op()
193 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 16)); in emit_single_op()
196 SLJIT_ASSERT(dst == src2); in emit_single_op()
203 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
209 FAIL_IF(push_inst(compiler, RLDI(TMP_REG2, src2, 32, 31, 1))); in emit_single_op()
216 …h_inst(compiler, NEG | OE((flags & ALT_FORM1) ? ALT_SET_FLAGS : 0) | RC(flags) | D(dst) | A(src2)); in emit_single_op()
221 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op()
222 return push_inst(compiler, CNTLZD | S(src2) | A(dst)); in emit_single_op()
229 FAIL_IF(push_inst(compiler, RLDI(TMP_REG2, src2, 32, 31, 1))); in emit_single_op()
230 src2 = TMP_REG2; in emit_single_op()
233 …_IF(push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2))); in emit_single_op()
241 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
254 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
259 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
262 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
263 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
267 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
277 …FAIL_IF(push_inst(compiler, CMPL | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2))); in emit_single_op()
280 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
287 FAIL_IF(push_inst(compiler, RLDI(TMP_REG2, src2, 32, 31, 1))); in emit_single_op()
288 src2 = TMP_REG2; in emit_single_op()
291 …FAIL_IF(push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(sr… in emit_single_op()
299 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
305 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
308 return push_inst(compiler, CMP | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2)); in emit_single_op()
312 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
315 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
316 return push_inst(compiler, SUBF | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
320 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
324 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
329 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
330 return push_inst(compiler, MULLD | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
334 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
338 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
341 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
345 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
349 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
353 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
357 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
361 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
365 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
369 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
373 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
377 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
385 …rn push_inst(compiler, ((flags & ALT_FORM2) ? SLW : SLD) | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
389 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
397 …rn push_inst(compiler, ((flags & ALT_FORM2) ? SRW : SRD) | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
401 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
409 … push_inst(compiler, ((flags & ALT_FORM2) ? SRAW : SRAD) | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()