Lines Matching refs:SLJIT_IMM
698 if (src & SLJIT_IMM) {
720 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw);
914 if (src & SLJIT_IMM) {
919 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0);
925 inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw);
961 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0);
965 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0);
970 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 0xff, dst, 0);
1056 if (src & SLJIT_IMM) {
1061 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0);
1067 inst = emit_x86_instruction(compiler, 1 | EX86_HALF_ARG | EX86_NO_REXW | EX86_PREF_66, SLJIT_IMM, srcw, dst, dstw);
1188 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 31, TMP_REG1, 0);
1190 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, !(op_flags & SLJIT_I32_OP) ? 63 : 31, TMP_REG1, 0);
1197 if (SLJIT_UNLIKELY(src & SLJIT_IMM)) {
1198 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw);
1221 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, 32 + 31);
1225 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, !(op_flags & SLJIT_I32_OP) ? 64 + 63 : 32 + 31);
1261 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 31, dst_r, 0);
1263 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, !(op_flags & SLJIT_I32_OP) ? 63 : 31, dst_r, 0);
1322 if (op == SLJIT_MOV_U32 && (src & SLJIT_IMM))
1324 if (op == SLJIT_MOVU_U32 && (src & SLJIT_IMM))
1335 if (src & SLJIT_IMM) {
1454 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, immw, arg, argw); \
1471 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, immw, arg, argw); \
1490 if (src2 & SLJIT_IMM) {
1502 if (src2 & SLJIT_IMM) {
1536 if (src1 & SLJIT_IMM) {
1570 if (src2 & SLJIT_IMM) {
1582 if (src2 & SLJIT_IMM) {
1606 if (src2 & SLJIT_IMM) {
1618 if (src2 & SLJIT_IMM) {
1652 if (src2 & SLJIT_IMM) {
1664 if (src2 & SLJIT_IMM) {
1689 if (dst_r == src1 && !(src2 & SLJIT_IMM)) {
1695 else if (dst_r == src2 && !(src1 & SLJIT_IMM)) {
1701 else if (src1 & SLJIT_IMM) {
1702 if (src2 & SLJIT_IMM) {
1703 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1738 EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_IMM, src1w);
1748 else if (src2 & SLJIT_IMM) {
1781 EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_IMM, src2w);
1834 if ((src2 & SLJIT_IMM) && (compiler->mode32 || IS_HALFWORD(src2w))) {
1837 if (src2 & SLJIT_IMM) {
1847 if ((src1 & SLJIT_IMM) && (compiler->mode32 || IS_HALFWORD(src1w))) {
1850 if (src1 & SLJIT_IMM) {
1874 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))) {
1876 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
1883 if (src2 & SLJIT_IMM) {
1894 if (FAST_IS_REG(src2) && !(src1 & SLJIT_IMM)) {
1901 if (src2 & SLJIT_IMM) {
1902 if (src1 & SLJIT_IMM) {
1925 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))) {
1927 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
1934 if (src2 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src1w > 127 || src1w < -128) && (compiler->mode32 || IS_HALFWORD(src1w))) {
1936 if (src2 == SLJIT_R0 && (src1 & SLJIT_IMM) && (src1w > 127 || src1w < -128)) {
1942 if (!(src1 & SLJIT_IMM)) {
1943 if (src2 & SLJIT_IMM) {
1946 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
1957 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
1971 if (!(src2 & SLJIT_IMM)) {
1972 if (src1 & SLJIT_IMM) {
1975 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src1w, src2, src2w);
2001 if (src2 & SLJIT_IMM) {
2004 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
2015 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
2036 if ((src2 & SLJIT_IMM) || (src2 == SLJIT_PREF_SHIFT_REG)) {
2124 if (src2 & SLJIT_IMM) {
2136 dst, dstw, src1, src1w, SLJIT_IMM, 0);
2143 FAIL_IF(emit_cmp_binary(compiler, src1, src1w, SLJIT_IMM, 0));
2148 return emit_cmp_binary(compiler, dst, dstw, SLJIT_IMM, 0);
2200 if ((src2 & SLJIT_IMM) && emit_lea_binary(compiler, op & SLJIT_KEEP_FLAGS, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != SLJIT_ERR_UNSUPPORTED)
2382 if (src & SLJIT_IMM) {
2651 if (src == SLJIT_IMM) {
2780 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, 1);
2782 EMIT_MOV(compiler, dst, 0, SLJIT_IMM, 0);
2898 return emit_lea_binary(compiler, SLJIT_KEEP_FLAGS, dst, dstw, SLJIT_SP, 0, SLJIT_IMM, offset);
2930 if (emit_mov(compiler, dst, dstw, SLJIT_IMM, init_value))
3016 if (SLJIT_UNLIKELY(src & SLJIT_IMM)) {
3017 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw);