Home
last modified time | relevance | path

Searched refs:is_clz (Results 1 – 3 of 3) sorted by relevance

/third_party/pcre2/pcre2/src/sljit/
DsljitNativeX86_common.c1509 static sljit_s32 emit_clz_ctz(struct sljit_compiler *compiler, sljit_s32 is_clz, in emit_clz_ctz() argument
1522 if (is_clz ? (cpu_feature_list & CPU_FEATURE_LZCNT) : (cpu_feature_list & CPU_FEATURE_TZCNT)) { in emit_clz_ctz()
1532 *inst = is_clz ? LZCNT_r_rm : TZCNT_r_rm; in emit_clz_ctz()
1542 *inst = is_clz ? BSR_r_rm : BSF_r_rm; in emit_clz_ctz()
1545 max = is_clz ? (32 + 31) : 32; in emit_clz_ctz()
1553 …inst = emit_x86_instruction(compiler, 2, dst_r, 0, SLJIT_MEM0(), is_clz ? (sljit_sw)&emit_clz_arg … in emit_clz_ctz()
1562 if (is_clz) { in emit_clz_ctz()
1568 if (is_clz) in emit_clz_ctz()
1584 if (is_clz) { in emit_clz_ctz()
DsljitNativeRISCV_common.c1042 sljit_s32 is_clz = (GET_OPCODE(op) == SLJIT_CLZ); in emit_clz_ctz() local
1059 …FAIL_IF(push_inst(compiler, BEQ | RS1(TMP_REG2) | RS2(TMP_ZERO) | ((sljit_ins)((is_clz ? 4 : 5) * … in emit_clz_ctz()
1062 if (!is_clz) { in emit_clz_ctz()
1074 …FAIL_IF(push_inst(compiler, (is_clz ? SRL : SLL) | WORD | RD(TMP_REG2) | RS1(EQUAL_FLAG) | RS2(TMP… in emit_clz_ctz()
1077 …FAIL_IF(push_inst(compiler, (is_clz ? SRL : SLL) | WORD | RD(TMP_REG2) | RS1(EQUAL_FLAG) | RS2(TMP… in emit_clz_ctz()
DsljitNativeMIPS_common.c1415 sljit_s32 is_clz = (GET_OPCODE(op) == SLJIT_CLZ); in emit_clz_ctz() local
1426 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG2) | TA(0) | IMM(is_clz ? 13 : 14), UNMOVABLE_INS)); in emit_clz_ctz()
1430 if (!is_clz) { in emit_clz_ctz()
1445 …FAIL_IF(push_inst(compiler, (is_clz ? SELECT_OP(DSRLV, SRLV) : SELECT_OP(DSLLV, SLLV)) | S(TMP_REG… in emit_clz_ctz()
1451 …FAIL_IF(push_inst(compiler, (is_clz ? SELECT_OP(DSRLV, SRLV) : SELECT_OP(DSLLV, SLLV)) | S(TMP_REG… in emit_clz_ctz()