Home
last modified time | relevance | path

Searched refs:src2w (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitNativeX86_common.c601 sljit_s32 src2, sljit_sw src2w);
607 sljit_s32 src2, sljit_sw src2w);
1440 sljit_s32 src2, sljit_sw src2w) argument
1447 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1450 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1460 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1462 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1464 BINARY_EAX_IMM(op_eax_imm, src2w);
1467 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1471 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
[all …]
H A DsljitNativePPC_common.c1137 sljit_s32 src2, sljit_sw src2w) in emit_op() argument
1202 FAIL_IF(load_immediate(compiler, sugg_src2_r, src2w)); in emit_op()
1205 else if (getput_arg_fast(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w)) { in emit_op()
1215 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { in emit_op()
1216 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG2, src2, src2w, src1, src1w)); in emit_op()
1220 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, src2, src2w)); in emit_op()
1221 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG2, src2, src2w, dst, dstw)); in emit_op()
1227 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, src2, src2w)); in emit_op()
1235 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w, dst, dstw)); in emit_op()
1248 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w, 0, 0)); in emit_op()
[all …]
H A DsljitNativeMIPS_common.c879 sljit_s32 src2, sljit_sw src2w) in emit_op() argument
911 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
912 if ((!(flags & LOGICAL_OP) && (src2w <= SIMM_MAX && src2w >= SIMM_MIN)) in emit_op()
913 || ((flags & LOGICAL_OP) && !(src2w & ~UIMM_MAX))) { in emit_op()
915 src2_r = src2w; in emit_op()
926 src1w = src2w; in emit_op()
963 if (src2w) { in emit_op()
964 FAIL_IF(load_immediate(compiler, DR(sugg_src2_r), src2w)); in emit_op()
975 if (getput_arg_fast(compiler, flags | LOAD_DATA, DR(sugg_src2_r), src2, src2w)) in emit_op()
984 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { in emit_op()
[all …]
H A DsljitNativeSPARC_common.c651 sljit_s32 src2, sljit_sw src2w) in emit_op() argument
681 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
682 if (src2w <= SIMM_MAX && src2w >= SIMM_MIN) { in emit_op()
684 src2_r = src2w; in emit_op()
694 src1w = src2w; in emit_op()
729 if (src2w) { in emit_op()
730 FAIL_IF(load_immediate(compiler, sugg_src2_r, src2w)); in emit_op()
741 if (getput_arg_fast(compiler, flags | LOAD_DATA, sugg_src2_r, src2, src2w)) in emit_op()
750 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { in emit_op()
751 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG2, src2, src2w, src1, src1w)); in emit_op()
[all …]
H A DsljitLir.c1117 sljit_s32 src2, sljit_sw src2w) in check_sljit_emit_op2() argument
1166 FUNCTION_CHECK_SRC(src2, src2w); in check_sljit_emit_op2()
1179 sljit_verbose_param(compiler, src2, src2w); in check_sljit_emit_op2()
1274 sljit_s32 src2, sljit_sw src2w) in check_sljit_emit_fop1_cmp() argument
1292 FUNCTION_FCHECK(src2, src2w); in check_sljit_emit_fop1_cmp()
1303 sljit_verbose_fparam(compiler, src2, src2w); in check_sljit_emit_fop1_cmp()
1373 sljit_s32 src2, sljit_sw src2w) in check_sljit_emit_fop2() argument
1380 FUNCTION_FCHECK(src2, src2w); in check_sljit_emit_fop2()
1390 sljit_verbose_fparam(compiler, src2, src2w); in check_sljit_emit_fop2()
1444 sljit_s32 src2, sljit_sw src2w) in check_sljit_emit_cmp() argument
[all …]
H A DsljitNativeARM_32.c878 sljit_s32 src2, sljit_sw src2w);
1405 sljit_s32 src2, sljit_sw src2w) in emit_op() argument
1432 src2_reg = get_imm(src2w); in emit_op()
1436 src2_reg = get_imm(~src2w); in emit_op()
1443 src2_reg = get_imm(-src2w); in emit_op()
1450 src2_reg = get_imm(-src2w); in emit_op()
1463 src1w = src2w; in emit_op()
1471 src1w = src2w; in emit_op()
1480 src1w = src2w; in emit_op()
1523 FAIL_IF(emit_op_mem(compiler, inp_flags | LOAD_DATA, src2_reg, src2, src2w, TMP_REG2)); in emit_op()
[all …]
H A DsljitNativeTILEGX_64.c1961 …lags, sljit_s32 dst, sljit_sw dstw, sljit_s32 src1, sljit_sw src1w, sljit_s32 src2, sljit_sw src2w) in emit_op() argument
1991 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
1993 && (src2w <= SIMM_16BIT_MAX && src2w >= SIMM_16BIT_MIN)) in emit_op()
1994 || ((flags & LOGICAL_OP) && !(src2w & ~UIMM_16BIT_MAX))) { in emit_op()
1996 src2_r = src2w; in emit_op()
2009 src1w = src2w; in emit_op()
2042 if (src2w) { in emit_op()
2043 FAIL_IF(load_immediate(compiler, reg_map[sugg_src2_r], src2w)); in emit_op()
2052 if (getput_arg_fast(compiler, flags | LOAD_DATA, reg_map[sugg_src2_r], src2, src2w)) in emit_op()
2061 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { in emit_op()
[all …]
H A DsljitNativeARM_64.c1441 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2() argument
1446 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1449 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
1475 if (getput_arg_fast(compiler, mem_flags, TMP_REG2, src2, src2w)) in sljit_emit_op2()
1482 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { in sljit_emit_op2()
1483 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG2, src2, src2w, src1, src1w)); in sljit_emit_op2()
1487 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG1, src1, src1w, src2, src2w)); in sljit_emit_op2()
1488 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG2, src2, src2w, dst, dstw)); in sljit_emit_op2()
1494 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG2, src2, src2w, dst, dstw)); in sljit_emit_op2()
1508 src2w = src2; in sljit_emit_op2()
[all …]
H A DsljitLir.h964 sljit_s32 src2, sljit_sw src2w);
1028 sljit_s32 src2, sljit_sw src2w);
1145 sljit_s32 src2, sljit_sw src2w);
1159 sljit_s32 src2, sljit_sw src2w);
H A DsljitNativeARM_T2_32.c1343 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2() argument
1348 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1351 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
1369 emit_op_mem(compiler, WORD_SIZE, src2_reg, src2, src2w, src2_reg); in sljit_emit_op2()
1370 src2w = src2_reg; in sljit_emit_op2()
1373 src2w = src2; in sljit_emit_op2()
1378 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_reg, src1w, src2w); in sljit_emit_op2()
1520 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp() argument
1530 emit_fop_mem(compiler, (op & SLJIT_F32_OP) | FPU_LOAD, TMP_FREG2, src2, src2w); in sljit_emit_fop1_cmp()
1588 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2() argument
[all …]
/netbsd-src/sys/external/bsd/sljit/dist/test_src/
H A DsljitTest.c3200 …compiler *compiler, sljit_s32 type, sljit_s32 src1, sljit_sw src1w, sljit_s32 src2, sljit_sw src2w) in cmp_test() argument
3208 jump = sljit_emit_cmp(compiler, type, src1, src1w, src2, src2w); in cmp_test()