Lines Matching refs:dst
42 #define INS_CLEAR_LEFT(dst, src, from) \ argument
43 (RLWINM | S(src) | A(dst) | RLWI_MBE(from, 31))
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()
95 FAIL_IF(push_inst(compiler, AND | S(src2) | A(dst) | B(TMP_REG1))); in emit_single_op()
96 FAIL_IF(push_inst(compiler, CNTLZW | S(dst) | A(dst))); in emit_single_op()
97 FAIL_IF(push_inst(compiler, ADDI | D(TMP_REG1) | A(dst) | IMM(-32))); in emit_single_op()
100 return push_inst(compiler, XOR | S(dst) | A(dst) | B(TMP_REG1)); in emit_single_op()
105 …return push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2… in emit_single_op()
113 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
118 …FAIL_IF(push_inst(compiler, ADDIS | D(dst) | A(src1) | (((imm >> 16) & 0xffff) + ((imm >> 15) & 0x… in emit_single_op()
119 src1 = dst; in emit_single_op()
122 return push_inst(compiler, ADDI | D(dst) | A(src1) | (imm & 0xffff)); in emit_single_op()
126 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); 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()
144 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
149 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
157 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); 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()
175 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); 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()
196 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
198 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
203 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
207 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
209 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
214 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
218 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
224 FAIL_IF(push_inst(compiler, ORI | S(src1) | A(dst) | IMM(imm))); in emit_single_op()
225 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(imm >> 16)); in emit_single_op()
227 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
232 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
236 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
242 FAIL_IF(push_inst(compiler, XORI | S(src1) | A(dst) | IMM(imm))); in emit_single_op()
243 return push_inst(compiler, XORIS | S(dst) | A(dst) | IMM(imm >> 16)); 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()
256 return push_inst(compiler, SLWI(imm) | RC(flags) | S(src1) | A(dst)); in emit_single_op()
264 return push_inst(compiler, SLW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
272 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | RLWI_SH((32 - imm) & 0x1f) | RL… in emit_single_op()
280 return push_inst(compiler, SRW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
287 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (imm << 11)); in emit_single_op()
295 return push_inst(compiler, SRAW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
307 return push_inst(compiler, RLWINM | S(src1) | A(dst) | RLWI_SH(imm) | RLWI_MBE(0, 31)); in emit_single_op()
315 return push_inst(compiler, RLWNM | S(src1) | A(dst) | B(src2) | RLWI_MBE(0, 31)); in emit_single_op()
329 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_sw() argument
332 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
365 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
366 return emit_op_mem(compiler, FLOAT_DATA(op), TMP_FREG1, dst, dstw, TMP_REG1); in sljit_emit_fop1_conv_f64_from_sw()
371 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_uw() argument
374 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_uw()
402 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_uw()
403 return emit_op_mem(compiler, FLOAT_DATA(op), TMP_FREG1, dst, dstw, TMP_REG1); in sljit_emit_fop1_conv_f64_from_uw()