Lines Matching refs:src1

130 			FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
131 src1 = TMP_REG1; \
141 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
142 src1 = TMP_REG1; \
146 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument
151 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
158 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
171 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
186 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
198 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
203 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
211 FAIL_IF(push_inst(compiler, RLDI(TMP_REG1, src1, 32, 31, 1))); in emit_single_op()
212 src1 = TMP_REG1; in emit_single_op()
217 …FAIL_IF(push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src… in emit_single_op()
228 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
231 …FAIL_IF(push_inst(compiler, ADDIS | D(dst) | A(src1) | (((compiler->imm >> 16) & 0xffff) + ((compi… in emit_single_op()
232 src1 = dst; in emit_single_op()
235 return push_inst(compiler, ADDI | D(dst) | A(src1) | (compiler->imm & 0xffff)); in emit_single_op()
240 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
244 FAIL_IF(push_inst(compiler, ADDI | D(dst) | A(src1) | compiler->imm)); in emit_single_op()
246 FAIL_IF(push_inst(compiler, ADD | D(dst) | A(src1) | B(src2))); in emit_single_op()
250 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
253 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
254 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
258 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
263 …FAIL_IF(push_inst(compiler, CMPLI | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler… in emit_single_op()
266 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
268 …FAIL_IF(push_inst(compiler, CMPL | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2))); in emit_single_op()
271 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
276 …FAIL_IF(push_inst(compiler, CMPI | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler-… in emit_single_op()
279 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
281 … FAIL_IF(push_inst(compiler, CMP | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2))); in emit_single_op()
284 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
289 if (src1 != TMP_ZERO) { in emit_single_op()
290 FAIL_IF(push_inst(compiler, RLDI(TMP_REG1, src1, 32, 31, 1))); in emit_single_op()
291 src1 = TMP_REG1; in emit_single_op()
300 if (src1 != TMP_ZERO) in emit_single_op()
301 …IF(push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1))); in emit_single_op()
313 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
317 SLJIT_ASSERT(src1 != TMP_ZERO); in emit_single_op()
318 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
323 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
325 if (src1 != TMP_ZERO) in emit_single_op()
326 return push_inst(compiler, SUBF | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
331 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
336 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
340 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
341 return push_inst(compiler, MULLD | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
346 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
350 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
352 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
357 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
361 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
365 FAIL_IF(push_inst(compiler, ORI | S(src1) | A(dst) | IMM(compiler->imm))); in emit_single_op()
368 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
373 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
377 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
381 FAIL_IF(push_inst(compiler, XORI | S(src1) | A(dst) | IMM(compiler->imm))); in emit_single_op()
384 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
391 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - … in emit_single_op()
394 return push_inst(compiler, RLDI(dst, src1, compiler->imm, 63 - compiler->imm, 1) | RC(flags)); in emit_single_op()
396 …return push_inst(compiler, ((flags & ALT_FORM2) ? SLW : SLD) | RC(flags) | S(src1) | A(dst) | B(sr… in emit_single_op()
403 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) … in emit_single_op()
406 return push_inst(compiler, RLDI(dst, src1, 64 - compiler->imm, compiler->imm, 0) | RC(flags)); in emit_single_op()
408 …return push_inst(compiler, ((flags & ALT_FORM2) ? SRW : SRD) | RC(flags) | S(src1) | A(dst) | B(sr… in emit_single_op()
415 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11)); in emit_single_op()
418 …return push_inst(compiler, SRADI | RC(flags) | S(src1) | A(dst) | ((compiler->imm & 0x1f) << 11) |… in emit_single_op()
420 …return push_inst(compiler, ((flags & ALT_FORM2) ? SRAW : SRAD) | RC(flags) | S(src1) | A(dst) | B(… in emit_single_op()