Lines Matching refs:flags

133 #define OE(flags)	((flags) & ALT_SET_FLAGS)  argument
135 #define RC(flags) (((flags) & ALT_SET_FLAGS) >> 10) argument
266 if (jump->flags & (SLJIT_REWRITABLE_JUMP | IS_CALL)) in detect_jump_type()
269 if (jump->flags & SLJIT_REWRITABLE_JUMP) in detect_jump_type()
273 if (jump->flags & JUMP_ADDR) in detect_jump_type()
276 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
281 if (jump->flags & IS_CALL) in detect_jump_type()
288 if (jump->flags & IS_COND) { in detect_jump_type()
290 jump->flags |= PATCH_B; in detect_jump_type()
294 jump->flags |= PATCH_B | PATCH_ABS_B; in detect_jump_type()
303 jump->flags |= PATCH_B | extra_jump_flags; in detect_jump_type()
308 jump->flags |= PATCH_B | PATCH_ABS_B | extra_jump_flags; in detect_jump_type()
317 jump->flags |= PATCH_ABS32; in detect_jump_type()
322 jump->flags |= PATCH_ABS48; in detect_jump_type()
335 put_label->flags = 0; in put_label_get_length()
340 put_label->flags = 1; in put_label_get_length()
344 put_label->flags = 2; in put_label_get_length()
354 if (put_label->flags == 0) { in put_label_set()
359 if (put_label->flags == 1) { in put_label_set()
450 if (jump->flags & PATCH_ABS32) { in sljit_generate_code()
455 else if (jump->flags & PATCH_ABS48) { in sljit_generate_code()
470 if (jump->flags & REMOVE_COND) { in sljit_generate_code()
475 jump->flags -= IS_COND; in sljit_generate_code()
522 addr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
525 if (jump->flags & PATCH_B) { in sljit_generate_code()
526 if (jump->flags & IS_COND) { in sljit_generate_code()
527 if (!(jump->flags & PATCH_ABS_B)) { in sljit_generate_code()
538 if (!(jump->flags & PATCH_ABS_B)) { in sljit_generate_code()
556 if (jump->flags & PATCH_ABS32) { in sljit_generate_code()
562 if (jump->flags & PATCH_ABS48) { in sljit_generate_code()
845 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
846 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
849 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
850 (((inst) & ~INT_ALIGNED) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
1073 …sljit_s32 flags = input_flags & (ALT_FORM1 | ALT_FORM2 | ALT_FORM3 | ALT_FORM4 | ALT_FORM5 | ALT_S… in emit_op() local
1078 flags |= REG_DEST; in emit_op()
1087 flags |= REG1_SOURCE; in emit_op()
1101 flags |= REG2_SOURCE; in emit_op()
1103 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1115 FAIL_IF(emit_single_op(compiler, op, flags, dst_r, src1_r, src2_r)); in emit_op()
1199 …emit_op(compiler, (src & SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1,…
1205 sljit_s32 flags = HAS_FLAGS(op) ? ALT_SET_FLAGS : 0; in sljit_emit_op1() local
1239 flags |= INT_DATA | SIGNED_DATA; in sljit_emit_op1()
1241 flags |= ALT_SIGN_EXT; in sljit_emit_op1()
1253 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1276 return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1279 …return emit_op(compiler, SLJIT_NEG, flags | (GET_FLAG_TYPE(op_flags) ? ALT_FORM1 : 0), dst, dstw, … in sljit_emit_op1()
1283 …return emit_op(compiler, SLJIT_CLZ, flags | (!(op_flags & SLJIT_I32_OP) ? 0 : ALT_FORM1), dst, dst… in sljit_emit_op1()
1285 return emit_op(compiler, SLJIT_CLZ, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1351 sljit_s32 flags = HAS_FLAGS(op) ? ALT_SET_FLAGS : 0; in sljit_emit_op2() local
1370 flags |= INT_DATA | SIGNED_DATA; in sljit_emit_op2()
1376 flags |= ALT_SIGN_EXT; in sljit_emit_op2()
1385 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1390 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1394 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1398 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1402 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1407 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1411 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1419 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4 | ALT_FORM5, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1423 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4 | ALT_FORM5, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1425 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1431 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1435 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1438 …return emit_op(compiler, SLJIT_ADD, flags | ((GET_FLAG_TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY))… in sljit_emit_op2()
1441 return emit_op(compiler, SLJIT_ADDC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1448 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1450 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1455 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, sr… in sljit_emit_op2()
1457 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM3, dst, dstw, src1, src1w, src2, s… in sljit_emit_op2()
1463 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1465 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1471 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2 | ALT_FORM3 | ALT_FORM4, dst, dstw, src1, sr… in sljit_emit_op2()
1473 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src1, src1w, src2, s… in sljit_emit_op2()
1477 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM3, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1481 …return emit_op(compiler, SLJIT_ADD, flags | (!HAS_FLAGS(op) ? ALT_FORM2 : ALT_FORM3), dst, dstw, s… in sljit_emit_op2()
1486 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1492 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, src1w, TMP_RE… in sljit_emit_op2()
1497 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1502 …return emit_op(compiler, SLJIT_SUB, flags | ((GET_FLAG_TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY))… in sljit_emit_op2()
1505 return emit_op(compiler, SLJIT_SUBC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1510 flags |= ALT_FORM2; in sljit_emit_op2()
1515 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1519 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1524 return emit_op(compiler, SLJIT_MUL, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1533 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1537 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1541 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1545 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1552 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1556 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1559 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1566 flags |= ALT_FORM2; in sljit_emit_op2()
1570 return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1572 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2029 jump->flags |= IS_COND; in sljit_emit_jump()
2032 jump->flags |= IS_CALL; in sljit_emit_jump()
2088 jump->flags |= IS_CALL; in sljit_emit_ijump()