Lines Matching refs:src1

132 			FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
133 src1 = TMP_REG1; \
143 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
144 src1 = TMP_REG1; \
148 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument
155 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
162 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
175 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
190 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
202 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
207 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
211 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
223 FAIL_IF(push_inst(compiler, SLDI(32) | S(src1) | A(TMP_REG1))); in emit_single_op()
224 src1 = TMP_REG1; in emit_single_op()
229 …FAIL_IF(push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src… in emit_single_op()
240 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
245 …FAIL_IF(push_inst(compiler, ADDIS | D(dst) | A(src1) | (((imm >> 16) & 0xffff) + ((imm >> 15) & 0x… in emit_single_op()
246 src1 = dst; in emit_single_op()
249 return push_inst(compiler, ADDI | D(dst) | A(src1) | (imm & 0xffff)); in emit_single_op()
254 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
258 FAIL_IF(push_inst(compiler, ADDI | D(dst) | A(src1) | compiler->imm)); in emit_single_op()
260 FAIL_IF(push_inst(compiler, ADD | D(dst) | A(src1) | B(src2))); in emit_single_op()
264 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
267 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
268 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
272 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
277 …FAIL_IF(push_inst(compiler, CMPLI | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler… in emit_single_op()
280 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
282 …FAIL_IF(push_inst(compiler, CMPL | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2))); in emit_single_op()
285 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
290 …FAIL_IF(push_inst(compiler, CMPI | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler-… in emit_single_op()
293 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
295 … FAIL_IF(push_inst(compiler, CMP | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2))); in emit_single_op()
298 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
303 if (src1 != TMP_ZERO) { in emit_single_op()
304 FAIL_IF(push_inst(compiler, SLDI(32) | S(src1) | A(TMP_REG1))); in emit_single_op()
305 src1 = TMP_REG1; in emit_single_op()
314 if (src1 != TMP_ZERO) in emit_single_op()
315 …IF(push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1))); in emit_single_op()
327 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
331 SLJIT_ASSERT(src1 != TMP_ZERO); in emit_single_op()
332 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
337 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
339 if (src1 != TMP_ZERO) in emit_single_op()
340 return push_inst(compiler, SUBF | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
345 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
350 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
354 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
355 return push_inst(compiler, MULLD | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
360 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
364 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
366 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
371 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
375 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
381 FAIL_IF(push_inst(compiler, ORI | S(src1) | A(dst) | IMM(imm))); in emit_single_op()
384 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
389 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
393 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
399 FAIL_IF(push_inst(compiler, XORI | S(src1) | A(dst) | IMM(imm))); in emit_single_op()
402 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
412 return push_inst(compiler, SLWI(imm) | RC(flags) | S(src1) | A(dst)); in emit_single_op()
416 return push_inst(compiler, SLDI(imm) | RC(flags) | S(src1) | A(dst)); in emit_single_op()
424 …return push_inst(compiler, ((flags & ALT_FORM2) ? SLW : SLD) | RC(flags) | S(src1) | A(dst) | B(sr… in emit_single_op()
435 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | RLWI_SH((32 - imm) & 0x1f) | RL… in emit_single_op()
440 …return push_inst(compiler, RLDICL | RC(flags) | S(src1) | A(dst) | RLDI_SH((64 - imm) & 0x3f) | RL… in emit_single_op()
448 …return push_inst(compiler, ((flags & ALT_FORM2) ? SRW : SRD) | RC(flags) | S(src1) | A(dst) | B(sr… in emit_single_op()
458 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (imm << 11)); in emit_single_op()
462 return push_inst(compiler, SRADI | RC(flags) | S(src1) | A(dst) | RLDI_SH(imm)); in emit_single_op()
470 …return push_inst(compiler, ((flags & ALT_FORM2) ? SRAW : SRAD) | RC(flags) | S(src1) | A(dst) | B(… in emit_single_op()
483 return push_inst(compiler, RLWINM | S(src1) | A(dst) | RLWI_SH(imm) | RLWI_MBE(0, 31)); in emit_single_op()
487 return push_inst(compiler, RLDICL | S(src1) | A(dst) | RLDI_SH(imm)); in emit_single_op()
495 …lags & ALT_FORM2) ? (RLWNM | RLWI_MBE(0, 31)) : (RLDCL | RLDI_MB(0))) | S(src1) | A(dst) | B(src2)… in emit_single_op()