Lines Matching refs:dst

41 #define INS_CLEAR_LEFT(dst, src, from) \  argument
42 (RLWINM | S(src) | A(dst) | ((from) << 6) | (31 << 1))
45 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument
53 if (dst != src2) in emit_single_op()
54 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); in emit_single_op()
62 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
63 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 24)); in emit_single_op()
66 return push_inst(compiler, EXTSB | S(src2) | A(dst)); in emit_single_op()
68 SLJIT_ASSERT(dst == src2); in emit_single_op()
77 return push_inst(compiler, EXTSH | S(src2) | A(dst)); in emit_single_op()
78 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 16)); in emit_single_op()
81 SLJIT_ASSERT(dst == src2); in emit_single_op()
87 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
91 return push_inst(compiler, CNTLZW | S(src2) | A(dst)); in emit_single_op()
96 …return push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2… in emit_single_op()
104 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
107 …FAIL_IF(push_inst(compiler, ADDIS | D(dst) | A(src1) | (((compiler->imm >> 16) & 0xffff) + ((compi… in emit_single_op()
108 src1 = dst; in emit_single_op()
111 return push_inst(compiler, ADDI | D(dst) | A(src1) | (compiler->imm & 0xffff)); in emit_single_op()
115 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
119 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
121 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
122 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
125 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
133 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
138 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
146 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
151 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
157 …return push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src… in emit_single_op()
158 return push_inst(compiler, NEG | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2)); in emit_single_op()
164 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
169 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
173 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
176 return push_inst(compiler, SUBF | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
177 return push_inst(compiler, NEG | RC(ALT_SET_FLAGS) | D(dst) | A(src2)); in emit_single_op()
180 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
185 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
187 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
192 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
196 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
198 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
203 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
207 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
211 FAIL_IF(push_inst(compiler, ORI | S(src1) | A(dst) | IMM(compiler->imm))); in emit_single_op()
212 return push_inst(compiler, ORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
214 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
219 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
223 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
227 FAIL_IF(push_inst(compiler, XORI | S(src1) | A(dst) | IMM(compiler->imm))); in emit_single_op()
228 return push_inst(compiler, XORIS | S(dst) | A(dst) | IMM(compiler->imm >> 16)); in emit_single_op()
230 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
236 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - … in emit_single_op()
238 return push_inst(compiler, SLW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
244 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) … in emit_single_op()
246 return push_inst(compiler, SRW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
252 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11)); in emit_single_op()
254 return push_inst(compiler, SRAW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()