Lines Matching refs:flags

125 	if ((flags & (ALT_SIGN_EXT | REG2_SOURCE)) == (ALT_SIGN_EXT | REG2_SOURCE)) { \
131 if (flags & ALT_SIGN_EXT) { \
132 if (flags & REG1_SOURCE) { \
136 if (flags & REG2_SOURCE) { \
143 if ((flags & (ALT_SIGN_EXT | REG1_SOURCE)) == (ALT_SIGN_EXT | REG1_SOURCE)) { \
148 …JIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, in emit_single_op() argument
162 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
175 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
180 else if ((flags & REG_DEST) && op == SLJIT_MOV_S8) in emit_single_op()
190 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
203 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
208 if ((flags & (ALT_FORM1 | ALT_SIGN_EXT)) == (ALT_FORM1 | ALT_SIGN_EXT)) { in emit_single_op()
216 …return push_inst(compiler, NEG | OE((flags & ALT_FORM1) ? ALT_SET_FLAGS : 0) | RC(flags) | D(dst) … in emit_single_op()
220 if (flags & ALT_FORM1) in emit_single_op()
225 if (flags & ALT_FORM1) { in emit_single_op()
226 if (flags & ALT_SIGN_EXT) { in emit_single_op()
234 if (flags & ALT_SIGN_EXT) in emit_single_op()
239 if (flags & ALT_FORM2) { in emit_single_op()
243 if (flags & ALT_FORM3) in emit_single_op()
246 if (flags & ALT_FORM4) { in emit_single_op()
253 if (flags & ALT_FORM3) { in emit_single_op()
258 if (!(flags & ALT_SET_FLAGS)) in emit_single_op()
261 if (flags & ALT_FORM4) in emit_single_op()
263 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
270 if (flags & ALT_FORM1) { in emit_single_op()
271 if (flags & ALT_FORM2) { in emit_single_op()
272 …FAIL_IF(push_inst(compiler, CMPLI | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler… in emit_single_op()
273 if (!(flags & ALT_FORM3)) in emit_single_op()
277 …FAIL_IF(push_inst(compiler, CMPL | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2))); in emit_single_op()
278 if (!(flags & ALT_FORM3)) in emit_single_op()
283 if (flags & ALT_FORM2) { in emit_single_op()
284 if (flags & ALT_SIGN_EXT) { in emit_single_op()
292 if (flags & ALT_SIGN_EXT) in emit_single_op()
297 if (flags & ALT_FORM3) { in emit_single_op()
303 if (flags & ALT_FORM4) { in emit_single_op()
304 if (flags & ALT_FORM5) { in emit_single_op()
306 …return push_inst(compiler, CMPI | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | compiler->… in emit_single_op()
308 return push_inst(compiler, CMP | CRD(0 | ((flags & ALT_SIGN_EXT) ? 0 : 1)) | A(src1) | B(src2)); in emit_single_op()
311 if (!(flags & ALT_SET_FLAGS)) in emit_single_op()
314 if (flags & ALT_FORM5) in emit_single_op()
316 return push_inst(compiler, SUBF | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
323 if (flags & ALT_FORM1) { in emit_single_op()
328 if (flags & ALT_FORM2) in emit_single_op()
329 return push_inst(compiler, MULLW | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
330 return push_inst(compiler, MULLD | OE(flags) | RC(flags) | D(dst) | A(src2) | B(src1)); in emit_single_op()
333 if (flags & ALT_FORM1) { in emit_single_op()
337 if (flags & ALT_FORM2) { in emit_single_op()
341 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
344 if (flags & ALT_FORM1) { in emit_single_op()
348 if (flags & ALT_FORM2) { in emit_single_op()
352 if (flags & ALT_FORM3) { in emit_single_op()
357 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
360 if (flags & ALT_FORM1) { in emit_single_op()
364 if (flags & ALT_FORM2) { in emit_single_op()
368 if (flags & ALT_FORM3) { in emit_single_op()
373 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
376 if (flags & ALT_FORM1) { in emit_single_op()
378 if (flags & ALT_FORM2) { in emit_single_op()
380 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11) | ((31 - … in emit_single_op()
383 return push_inst(compiler, RLDI(dst, src1, compiler->imm, 63 - compiler->imm, 1) | RC(flags)); in emit_single_op()
385 …return push_inst(compiler, ((flags & ALT_FORM2) ? SLW : SLD) | RC(flags) | S(src1) | A(dst) | B(sr… in emit_single_op()
388 if (flags & ALT_FORM1) { in emit_single_op()
390 if (flags & ALT_FORM2) { in emit_single_op()
392 …return push_inst(compiler, RLWINM | RC(flags) | S(src1) | A(dst) | (((32 - compiler->imm) & 0x1f) … in emit_single_op()
395 return push_inst(compiler, RLDI(dst, src1, 64 - compiler->imm, compiler->imm, 0) | RC(flags)); in emit_single_op()
397 …return push_inst(compiler, ((flags & ALT_FORM2) ? SRW : SRD) | RC(flags) | S(src1) | A(dst) | B(sr… in emit_single_op()
400 if (flags & ALT_FORM1) { in emit_single_op()
402 if (flags & ALT_FORM2) { in emit_single_op()
404 return push_inst(compiler, SRAWI | RC(flags) | S(src1) | A(dst) | (compiler->imm << 11)); in emit_single_op()
407 …return push_inst(compiler, SRADI | RC(flags) | S(src1) | A(dst) | ((compiler->imm & 0x1f) << 11) |… in emit_single_op()
409 …return push_inst(compiler, ((flags & ALT_FORM2) ? SRAW : SRAD) | RC(flags) | S(src1) | A(dst) | B(… in emit_single_op()