Lines Matching refs:src1w
972 sljit_s32 src1, sljit_sw src1w, in emit_op() argument
999 FAIL_IF(load_immediate(compiler, TMP_REG1, src1w)); in emit_op()
1003 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, TMP_REG1)); in emit_op()
1242 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2() argument
1248 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1250 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_op2()
1256 if ((src1 & SLJIT_IMM) && src1w == 0) in sljit_emit_op2()
1266 src1w = (sljit_s32)(src1w); in sljit_emit_op2()
1279 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1284 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1286 if (TEST_SL_IMM(src1, src1w)) { in sljit_emit_op2()
1287 compiler->imm = src1w & 0xffff; in sljit_emit_op2()
1292 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1294 if (TEST_SH_IMM(src1, src1w)) { in sljit_emit_op2()
1295 compiler->imm = (src1w >> 16) & 0xffff; in sljit_emit_op2()
1301 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1303 if (TEST_ADD_IMM(src1, src1w)) { in sljit_emit_op2()
1304 compiler->imm = src1w & 0xffffffff; in sljit_emit_op2()
1311 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1313 if (TEST_SL_IMM(src1, src1w)) { in sljit_emit_op2()
1314 compiler->imm = src1w & 0xffff; in sljit_emit_op2()
1318 …TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)) ? ALT_FORM4 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1321 return emit_op(compiler, SLJIT_ADDC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1328 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1330 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1335 …mpiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1337 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM3, dst, dstw, src1, src1w, src2, s… in sljit_emit_op2()
1341 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1346 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1348 if (TEST_SL_IMM(src1, src1w)) { in sljit_emit_op2()
1349 compiler->imm = src1w & 0xffff; in sljit_emit_op2()
1354 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src1, src1w, TMP_RE… in sljit_emit_op2()
1359 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1366 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4 | ALT_FORM5, dst, dstw, src1, src1w, TMP_REG… in sljit_emit_op2()
1368 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1373 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1376 …TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)) ? ALT_FORM5 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1379 return emit_op(compiler, SLJIT_SUBC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1389 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1391 if (TEST_SL_IMM(src1, src1w)) { in sljit_emit_op2()
1392 compiler->imm = src1w & 0xffff; in sljit_emit_op2()
1398 return emit_op(compiler, SLJIT_MUL, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1407 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1409 if (TEST_UL_IMM(src1, src1w)) { in sljit_emit_op2()
1410 compiler->imm = src1w; in sljit_emit_op2()
1415 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1417 if (TEST_UH_IMM(src1, src1w)) { in sljit_emit_op2()
1418 compiler->imm = (src1w >> 16) & 0xffff; in sljit_emit_op2()
1426 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1428 if (TEST_UI_IMM(src1, src1w)) { in sljit_emit_op2()
1429 compiler->imm = src1w; in sljit_emit_op2()
1433 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1444 return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1446 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1635 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp() argument
1639 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src1, src1w, TMP_REG1)); in sljit_emit_fop1_cmp()
1703 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2() argument
1709 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
1711 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_fop2()
1717 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src1, src1w, TMP_REG1)); in sljit_emit_fop2()