Lines Matching refs:argw
1288 …fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg_ar, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument
1293 && !(arg & OFFS_REG_MASK) && argw <= SIMM_16BIT_MAX && argw >= SIMM_16BIT_MIN) { in getput_arg_fast()
1298 FAIL_IF(ADDLI(ADDR_TMP_mapped, reg_map[arg & REG_MASK], argw)); in getput_arg_fast()
1314 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() argument
1320 argw &= 0x3; in can_cache()
1322 if (argw && argw == next_argw in can_cache()
1329 if (((next_argw - argw) <= SIMM_16BIT_MAX in can_cache()
1330 && (next_argw - argw) >= SIMM_16BIT_MIN)) in can_cache()
1340 …mpiler *compiler, sljit_si flags, sljit_si reg_ar, sljit_si arg, sljit_sw argw, sljit_si next_arg,… in getput_arg() argument
1358 argw &= 0x3; in getput_arg()
1367 if (argw == compiler->cache_argw) { in getput_arg()
1377 if (arg == next_arg && argw == (next_argw & 0x3)) { in getput_arg()
1379 compiler->cache_argw = argw; in getput_arg()
1404 if (SLJIT_UNLIKELY(argw)) { in getput_arg()
1406 compiler->cache_argw = argw; in getput_arg()
1407 FAIL_IF(SHLI(TMP_REG3_mapped, reg_map[OFFS_REG(arg)], argw)); in getput_arg()
1411 if (arg == next_arg && argw == (next_argw & 0x3)) { in getput_arg()
1413 compiler->cache_argw = argw; in getput_arg()
1414 FAIL_IF(ADD(TMP_REG3_mapped, reg_map[base], reg_map[!argw ? OFFS_REG(arg) : TMP_REG3])); in getput_arg()
1417 FAIL_IF(ADD(tmp_ar, reg_map[base], reg_map[!argw ? OFFS_REG(arg) : TMP_REG3])); in getput_arg()
1425 FAIL_IF(ADD(reg_map[base], reg_map[base], reg_map[!argw ? OFFS_REG(arg) : TMP_REG3])); in getput_arg()
1437 if (argw <= SIMM_16BIT_MAX && argw >= SIMM_16BIT_MIN) { in getput_arg()
1438 FAIL_IF(ADDLI(ADDR_TMP_mapped, reg_map[base], argw)); in getput_arg()
1444 if (argw) in getput_arg()
1445 return ADDLI(reg_map[base], reg_map[base], argw); in getput_arg()
1454 if (argw <= SIMM_16BIT_MAX && argw >= SIMM_16BIT_MIN) { in getput_arg()
1455 if (argw) in getput_arg()
1456 FAIL_IF(ADDLI(reg_map[base], reg_map[base], argw)); in getput_arg()
1459 && argw - compiler->cache_argw <= SIMM_16BIT_MAX in getput_arg()
1460 && argw - compiler->cache_argw >= SIMM_16BIT_MIN) { in getput_arg()
1461 if (argw != compiler->cache_argw) { in getput_arg()
1462 FAIL_IF(ADD(TMP_REG3_mapped, TMP_REG3_mapped, argw - compiler->cache_argw)); in getput_arg()
1463 compiler->cache_argw = argw; in getput_arg()
1469 compiler->cache_argw = argw; in getput_arg()
1470 FAIL_IF(load_immediate(compiler, TMP_REG3_mapped, argw)); in getput_arg()
1482 && argw - compiler->cache_argw <= SIMM_16BIT_MAX in getput_arg()
1483 && argw - compiler->cache_argw >= SIMM_16BIT_MIN) { in getput_arg()
1484 if (argw != compiler->cache_argw) { in getput_arg()
1485 FAIL_IF(ADDLI(TMP_REG3_mapped, TMP_REG3_mapped, argw - compiler->cache_argw)); in getput_arg()
1486 compiler->cache_argw = argw; in getput_arg()
1496 && argw - compiler->cache_argw <= SIMM_16BIT_MAX in getput_arg()
1497 && argw - compiler->cache_argw >= SIMM_16BIT_MIN) { in getput_arg()
1498 if (argw != compiler->cache_argw) in getput_arg()
1499 FAIL_IF(ADDLI(TMP_REG3_mapped, TMP_REG3_mapped, argw - compiler->cache_argw)); in getput_arg()
1502 FAIL_IF(load_immediate(compiler, TMP_REG3_mapped, argw)); in getput_arg()
1505 compiler->cache_argw = argw; in getput_arg()
1515 && next_argw - argw <= SIMM_16BIT_MAX in getput_arg()
1516 && next_argw - argw >= SIMM_16BIT_MIN) { in getput_arg()
1533 …_mem(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg_ar, sljit_si arg, sljit_sw argw) in emit_op_mem() argument
1535 if (getput_arg_fast(compiler, flags, reg_ar, arg, argw)) in emit_op_mem()
1540 return getput_arg(compiler, flags, reg_ar, arg, argw, 0, 0); in emit_op_mem()