Lines Matching refs:flags

126 #define OERC(flags)	(((flags & ALT_SET_FLAGS) >> 10) | (flags & ALT_SET_FLAGS))  argument
128 #define RC(flags) ((flags & ALT_SET_FLAGS) >> 10) argument
255 if (jump->flags & (SLJIT_REWRITABLE_JUMP | IS_CALL)) in detect_jump_type()
258 if (jump->flags & SLJIT_REWRITABLE_JUMP) in detect_jump_type()
262 if (jump->flags & JUMP_ADDR) in detect_jump_type()
265 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
270 if (jump->flags & IS_CALL) in detect_jump_type()
277 if (jump->flags & IS_COND) { in detect_jump_type()
279 jump->flags |= PATCH_B; in detect_jump_type()
283 jump->flags |= PATCH_B | PATCH_ABS_B; in detect_jump_type()
292 jump->flags |= PATCH_B | extra_jump_flags; in detect_jump_type()
296 jump->flags |= PATCH_B | PATCH_ABS_B | extra_jump_flags; in detect_jump_type()
305 jump->flags |= PATCH_ABS32; in detect_jump_type()
309 jump->flags |= PATCH_ABS48; in detect_jump_type()
377 if (jump->flags & PATCH_ABS32) { in sljit_generate_code()
382 else if (jump->flags & PATCH_ABS48) { in sljit_generate_code()
397 if (jump->flags & REMOVE_COND) { in sljit_generate_code()
402 jump->flags -= IS_COND; in sljit_generate_code()
436 addr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
438 if (jump->flags & PATCH_B) { in sljit_generate_code()
439 if (jump->flags & IS_COND) { in sljit_generate_code()
440 if (!(jump->flags & PATCH_ABS_B)) { in sljit_generate_code()
451 if (!(jump->flags & PATCH_ABS_B)) { in sljit_generate_code()
468 if (jump->flags & PATCH_ABS32) { in sljit_generate_code()
474 if (jump->flags & PATCH_ABS48) { in sljit_generate_code()
717 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
718 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
721 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
722 (((inst) & ~(INT_ALIGNED | UPDATE_REQ)) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
1110 static SLJIT_INLINE sljit_si emit_op_mem2(struct sljit_compiler *compiler, sljit_si flags, sljit_si… in emit_op_mem2() argument
1112 if (getput_arg_fast(compiler, flags, reg, arg1, arg1w)) in emit_op_mem2()
1114 return getput_arg(compiler, flags, reg, arg1, arg1w, arg2, arg2w); in emit_op_mem2()
1130 …sljit_si flags = input_flags & (ALT_FORM1 | ALT_FORM2 | ALT_FORM3 | ALT_FORM4 | ALT_FORM5 | ALT_FO… in emit_op() local
1145 flags |= REG_DEST; in emit_op()
1152 flags |= FAST_DEST; in emit_op()
1156 flags |= SLOW_DEST; in emit_op()
1164 flags |= REG1_SOURCE; in emit_op()
1180 flags |= REG2_SOURCE; in emit_op()
1181 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
1235 FAIL_IF(emit_single_op(compiler, op, flags, dst_r, src1_r, src2_r)); in emit_op()
1237 if (flags & (FAST_DEST | SLOW_DEST)) { in emit_op()
1238 if (flags & FAST_DEST) in emit_op()
1294 …emit_op(compiler, (src & SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1,…
1300 sljit_si flags = GET_FLAGS(op) ? ALT_SET_FLAGS : 0; in sljit_emit_op1() local
1335 flags |= INT_DATA | SIGNED_DATA; in sljit_emit_op1()
1349 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1377 …return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA | WRITE_BACK, dst, dstw, TMP_REG1, 0, src, s… in sljit_emit_op1()
1400 return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1403 return emit_op(compiler, SLJIT_NEG, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1407 …return emit_op(compiler, SLJIT_CLZ, flags | (!(op_flags & SLJIT_INT_OP) ? 0 : ALT_FORM1), dst, dst… in sljit_emit_op1()
1409 return emit_op(compiler, SLJIT_CLZ, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1456 sljit_si flags = GET_FLAGS(op) ? ALT_SET_FLAGS : 0; in sljit_emit_op2() local
1472 flags |= INT_DATA | SIGNED_DATA; in sljit_emit_op2()
1478 flags |= ALT_SIGN_EXT; in sljit_emit_op2()
1484 flags |= ALT_KEEP_CACHE; in sljit_emit_op2()
1491 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1495 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1499 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1503 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1508 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1512 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1518 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1522 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1525 return emit_op(compiler, SLJIT_ADD, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1528 …return emit_op(compiler, SLJIT_ADDC, flags | (!(op & SLJIT_KEEP_FLAGS) ? 0 : ALT_FORM1), dst, dstw… in sljit_emit_op2()
1534 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1538 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1542 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1547 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1555 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1559 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1566 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1568 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1572 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1574 …return emit_op(compiler, SLJIT_SUB, flags | ((op & SLJIT_SET_U) ? ALT_FORM4 : 0) | ((op & (SLJIT_S… in sljit_emit_op2()
1579 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1583 …return emit_op(compiler, SLJIT_SUB, flags | (!(op & SLJIT_SET_U) ? 0 : ALT_FORM6), dst, dstw, src1… in sljit_emit_op2()
1586 …return emit_op(compiler, SLJIT_SUBC, flags | (!(op & SLJIT_KEEP_FLAGS) ? 0 : ALT_FORM1), dst, dstw… in sljit_emit_op2()
1591 flags |= ALT_FORM2; in sljit_emit_op2()
1596 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1600 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1603 return emit_op(compiler, SLJIT_MUL, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1612 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1616 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1620 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1624 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1630 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1634 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1637 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1641 flags |= ALT_FORM3; in sljit_emit_op2()
1647 flags |= ALT_FORM2; in sljit_emit_op2()
1651 return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1653 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1932 sljit_si dst_r, flags = 0; in sljit_emit_fop2() local
1950 flags |= ALT_FORM1; in sljit_emit_fop2()
1958 flags |= ALT_FORM2; in sljit_emit_fop2()
1961 if ((flags & (ALT_FORM1 | ALT_FORM2)) == (ALT_FORM1 | ALT_FORM2)) { in sljit_emit_fop2()
1971 else if (flags & ALT_FORM1) in sljit_emit_fop2()
1973 else if (flags & ALT_FORM2) in sljit_emit_fop2()
1976 if (flags & ALT_FORM1) in sljit_emit_fop2()
1978 if (flags & ALT_FORM2) in sljit_emit_fop2()
2150 jump->flags |= IS_COND; in sljit_emit_jump()
2153 jump->flags |= IS_CALL; in sljit_emit_jump()
2190 jump->flags |= IS_CALL; in sljit_emit_ijump()
2220 sljit_si flags = GET_ALL_FLAGS(op); in sljit_emit_op_flags() local
2238 input_flags = (flags & SLJIT_INT_OP) ? INT_DATA : WORD_DATA; in sljit_emit_op_flags()
2352 return sljit_emit_op2(compiler, op | flags, dst, original_dstw, src, srcw, TMP_REG2, 0); in sljit_emit_op_flags()