Lines Matching refs:op

522 	sljit_si op = (flags & 0xffff);  in emit_op_imm()  local
529 if (arg1 == 0 && op != SLJIT_ADD && op != SLJIT_SUB) in emit_op_imm()
541 switch (op) { in emit_op_imm()
565 return push_inst(compiler, ((op == SLJIT_ADD ? ADDI : SUBI) ^ inv_bits) | RD(dst) | RN(reg)); in emit_op_imm()
604 if (op == SLJIT_OR) in emit_op_imm()
626 if (op == SLJIT_ASHR) in emit_op_imm()
661 switch (op) { in emit_op_imm()
1165 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, s… in sljit_emit_return() argument
1171 CHECK(check_sljit_emit_return(compiler, op, src, srcw)); in sljit_emit_return()
1173 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1246 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) in sljit_emit_op0() argument
1248 sljit_ins inv_bits = (op & SLJIT_INT_OP) ? (1 << 31) : 0; in sljit_emit_op0()
1251 CHECK(check_sljit_emit_op0(compiler, op)); in sljit_emit_op0()
1253 op = GET_OPCODE(op); in sljit_emit_op0()
1254 switch (op) { in sljit_emit_op0()
1263 …return push_inst(compiler, (op == SLJIT_LUMUL ? UMULH : SMULH) | RD(SLJIT_R1) | RN(TMP_REG1) | RM(… in sljit_emit_op0()
1267 …FAIL_IF(push_inst(compiler, ((op == SLJIT_UDIVMOD ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(S… in sljit_emit_op0()
1272 …return push_inst(compiler, ((op == SLJIT_UDIVI ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJI… in sljit_emit_op0()
1278 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_op1() argument
1283 sljit_si op_flags = GET_ALL_FLAGS(op); in sljit_emit_op1()
1286 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1295 op = GET_OPCODE(op); in sljit_emit_op1()
1296 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_P) { in sljit_emit_op1()
1297 switch (op) { in sljit_emit_op1()
1381 … return emit_op_imm(compiler, op | ((op_flags & SLJIT_INT_OP) ? INT_OP : 0), dst_r, TMP_REG1, src); in sljit_emit_op1()
1419 emit_op_imm(compiler, flags | op, dst_r, TMP_REG1, srcw); in sljit_emit_op1()
1430 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_op2() argument
1438 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1447 flags = GET_FLAGS(op) ? SET_FLAGS : 0; in sljit_emit_op2()
1449 if (op & SLJIT_INT_OP) { in sljit_emit_op2()
1502 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_r, src1w, src2w); in sljit_emit_op2()
1603 …tic SLJIT_INLINE sljit_si sljit_emit_fop1_convw_fromd(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_fop1_convw_fromd() argument
1608 sljit_ins inv_bits = (op & SLJIT_SINGLE_OP) ? (1 << 22) : 0; in sljit_emit_fop1_convw_fromd()
1610 if (GET_OPCODE(op) == SLJIT_CONVI_FROMD) in sljit_emit_fop1_convw_fromd()
1614 emit_fop_mem(compiler, (op & SLJIT_SINGLE_OP) ? INT_SIZE : WORD_SIZE, TMP_FREG1, src, srcw); in sljit_emit_fop1_convw_fromd()
1621 …return emit_op_mem(compiler, ((GET_OPCODE(op) == SLJIT_CONVI_FROMD) ? INT_SIZE : WORD_SIZE) | STOR… in sljit_emit_fop1_convw_fromd()
1625 …tic SLJIT_INLINE sljit_si sljit_emit_fop1_convd_fromw(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_fop1_convd_fromw() argument
1630 sljit_ins inv_bits = (op & SLJIT_SINGLE_OP) ? (1 << 22) : 0; in sljit_emit_fop1_convd_fromw()
1632 if (GET_OPCODE(op) == SLJIT_CONVD_FROMI) in sljit_emit_fop1_convd_fromw()
1636 …emit_op_mem(compiler, ((GET_OPCODE(op) == SLJIT_CONVD_FROMI) ? INT_SIZE : WORD_SIZE), TMP_REG1, sr… in sljit_emit_fop1_convd_fromw()
1640 if (GET_OPCODE(op) == SLJIT_CONVD_FROMI) in sljit_emit_fop1_convd_fromw()
1650 …return emit_fop_mem(compiler, ((op & SLJIT_SINGLE_OP) ? INT_SIZE : WORD_SIZE) | STORE, TMP_FREG1, … in sljit_emit_fop1_convd_fromw()
1654 static SLJIT_INLINE sljit_si sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_fop1_cmp() argument
1658 sljit_si mem_flags = (op & SLJIT_SINGLE_OP) ? INT_SIZE : WORD_SIZE; in sljit_emit_fop1_cmp()
1659 sljit_ins inv_bits = (op & SLJIT_SINGLE_OP) ? (1 << 22) : 0; in sljit_emit_fop1_cmp()
1674 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_fop1() argument
1678 sljit_si dst_r, mem_flags = (op & SLJIT_SINGLE_OP) ? INT_SIZE : WORD_SIZE; in sljit_emit_fop1()
1686 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw); in sljit_emit_fop1()
1688 inv_bits = (op & SLJIT_SINGLE_OP) ? (1 << 22) : 0; in sljit_emit_fop1()
1692 …emit_fop_mem(compiler, (GET_OPCODE(op) == SLJIT_CONVD_FROMS) ? (mem_flags ^ 0x100) : mem_flags, ds… in sljit_emit_fop1()
1696 switch (GET_OPCODE(op)) { in sljit_emit_fop1()
1712 …FAIL_IF(push_inst(compiler, FCVT | ((op & SLJIT_SINGLE_OP) ? (1 << 22) : (1 << 15)) | VD(dst_r) | … in sljit_emit_fop1()
1721 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_fop2() argument
1726 sljit_si dst_r, mem_flags = (op & SLJIT_SINGLE_OP) ? INT_SIZE : WORD_SIZE; in sljit_emit_fop2()
1727 sljit_ins inv_bits = (op & SLJIT_SINGLE_OP) ? (1 << 22) : 0; in sljit_emit_fop2()
1730 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
1748 switch (GET_OPCODE(op)) { in sljit_emit_fop2()
1967 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_op_flags() argument
1976 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type)); in sljit_emit_op_flags()
1986 if (GET_OPCODE(op) < SLJIT_ADD) { in sljit_emit_op_flags()
1990 …return emit_op_mem(compiler, (GET_OPCODE(op) == SLJIT_MOV ? WORD_SIZE : INT_SIZE) | STORE, TMP_REG… in sljit_emit_op_flags()
1995 flags = GET_FLAGS(op) ? SET_FLAGS : 0; in sljit_emit_op_flags()
1997 if (op & SLJIT_INT_OP) { in sljit_emit_op_flags()
2010 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_r, src, TMP_REG2); in sljit_emit_op_flags()