Lines Matching refs:flags
122 if ((flags & (ALT_SIGN_EXT | REG2_SOURCE)) == (ALT_SIGN_EXT | REG2_SOURCE)) { \
128 if (flags & ALT_SIGN_EXT) { \
129 if (flags & REG1_SOURCE) { \
133 if (flags & REG2_SOURCE) { \
140 if ((flags & (ALT_SIGN_EXT | REG1_SOURCE)) == (ALT_SIGN_EXT | REG1_SOURCE)) { \
145 …JIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, in emit_single_op() argument
159 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
172 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
177 else if ((flags & REG_DEST) && op == SLJIT_MOV_S8) in emit_single_op()
187 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) { in emit_single_op()
200 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2)); in emit_single_op()
204 if (flags & ALT_FORM1) in emit_single_op()
209 if (flags & ALT_FORM1) { in emit_single_op()
210 if (flags & ALT_SIGN_EXT) { in emit_single_op()
218 if (flags & ALT_SIGN_EXT) in emit_single_op()
223 if (flags & ALT_FORM2) { in emit_single_op()
227 if (flags & ALT_FORM3) in emit_single_op()
230 if (flags & ALT_FORM4) { in emit_single_op()
237 if (flags & ALT_FORM3) { in emit_single_op()
242 if (flags & ALT_FORM4) { in emit_single_op()
243 if (flags & ALT_FORM5) in emit_single_op()
249 if (!(flags & ALT_SET_FLAGS)) in emit_single_op()
252 if (flags & ALT_FORM5) in emit_single_op()
254 return push_inst(compiler, ADD | RC(flags) | D(dst) | A(src1) | B(src2)); in emit_single_op()
261 if (flags & ALT_FORM1) { in emit_single_op()
262 if (flags & ALT_FORM2) { 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()
264 if (!(flags & ALT_FORM3)) 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()
269 if (!(flags & ALT_FORM3)) in emit_single_op()
274 if (flags & ALT_FORM2) { in emit_single_op()
275 if (flags & ALT_FORM3) { 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()
277 if (!(flags & ALT_FORM4)) 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()
282 if (!(flags & ALT_FORM4)) in emit_single_op()
287 if (flags & ALT_FORM3) { in emit_single_op()
288 if (flags & ALT_SIGN_EXT) { in emit_single_op()
305 if (flags & ALT_SIGN_EXT) in emit_single_op()
310 if (flags & ALT_FORM4) { in emit_single_op()
316 if (!(flags & ALT_SET_FLAGS)) { in emit_single_op()
322 if (flags & ALT_FORM5) in emit_single_op()
334 if (flags & ALT_FORM1) { in emit_single_op()
339 if (flags & ALT_FORM2) 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()
344 if (flags & ALT_FORM1) { in emit_single_op()
348 if (flags & ALT_FORM2) { in emit_single_op()
352 return push_inst(compiler, AND | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
355 if (flags & ALT_FORM1) { in emit_single_op()
359 if (flags & ALT_FORM2) { in emit_single_op()
363 if (flags & ALT_FORM3) { in emit_single_op()
368 return push_inst(compiler, OR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
371 if (flags & ALT_FORM1) { in emit_single_op()
375 if (flags & ALT_FORM2) { in emit_single_op()
379 if (flags & ALT_FORM3) { in emit_single_op()
384 return push_inst(compiler, XOR | RC(flags) | S(src1) | A(dst) | B(src2)); in emit_single_op()
387 if (flags & ALT_FORM1) { in emit_single_op()
389 if (flags & ALT_FORM2) { 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()
399 if (flags & ALT_FORM1) { in emit_single_op()
401 if (flags & ALT_FORM2) { 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()
411 if (flags & ALT_FORM1) { in emit_single_op()
413 if (flags & ALT_FORM2) { 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()