Lines Matching refs:src1
45 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) in emit_single_op() argument
52 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
59 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
74 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
86 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
90 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
95 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
101 …return push_inst(compiler, ADD | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2… in emit_single_op()
109 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
112 …FAIL_IF(push_inst(compiler, ADDIS | D(dst) | A(src1) | (((compiler->imm >> 16) & 0xffff) + ((compi… in emit_single_op()
113 src1 = dst; in emit_single_op()
116 return push_inst(compiler, ADDI | D(dst) | A(src1) | (compiler->imm & 0xffff)); in emit_single_op()
120 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
123 return push_inst(compiler, ADD | D(dst) | A(src1) | B(src2)); in emit_single_op()
125 return push_inst(compiler, ADDC | RC(ALT_SET_FLAGS) | D(dst) | A(src1) | B(src2)); in emit_single_op()
126 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
129 return push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2)); in emit_single_op()
134 FAIL_IF(push_inst(compiler, CMPLI | CRD(0) | A(src1) | compiler->imm)); in emit_single_op()
137 return push_inst(compiler, ADDI | D(dst) | A(src1) | (-compiler->imm & 0xffff)); in emit_single_op()
139 FAIL_IF(push_inst(compiler, CMPL | CRD(0) | A(src1) | B(src2))); in emit_single_op()
142 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
147 …urn push_inst(compiler, SUBF | OE(ALT_SET_FLAGS) | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
153 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
159 return push_inst(compiler, CMPI | CRD(0) | A(src1) | compiler->imm); in emit_single_op()
161 return push_inst(compiler, CMP | CRD(0) | A(src1) | B(src2)); in emit_single_op()
165 return push_inst(compiler, SUBF | D(dst) | A(src2) | B(src1)); in emit_single_op()
167 return push_inst(compiler, SUBFC | RC(ALT_SET_FLAGS) | D(dst) | A(src2) | B(src1)); in emit_single_op()
168 return push_inst(compiler, SUBF | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
171 return push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1)); in emit_single_op()
176 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
178 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
183 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
187 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
189 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
194 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
198 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
202 FAIL_IF(push_inst(compiler, ORI | S(src1) | A(dst) | IMM(compiler->imm))); in emit_single_op()
205 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
210 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
214 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
218 FAIL_IF(push_inst(compiler, XORI | S(src1) | A(dst) | IMM(compiler->imm))); in emit_single_op()
221 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
227 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - … in emit_single_op()
229 return push_inst(compiler, SLW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
235 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) … in emit_single_op()
237 return push_inst(compiler, SRW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
243 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11)); in emit_single_op()
245 return push_inst(compiler, SRAW | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()