Home
last modified time | relevance | path

Searched refs:SET_FLAGS (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitNativeSPARC_32.c43 SLJIT_COMPILE_ASSERT(ICC_IS_SET == SET_FLAGS, icc_is_set_and_set_flags_must_be_the_same); in emit_single_op()
81 …eturn push_inst(compiler, XNOR | (flags & SET_FLAGS) | D(dst) | S1(0) | S2(src2), DR(dst) | (flags… in emit_single_op()
86 FAIL_IF(push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(src2) | S2(0), SET_FLAGS)); in emit_single_op()
89 …IL_IF(push_inst(compiler, OR | (flags & SET_FLAGS) | D(dst) | S1(0) | IMM(32), UNMOVABLE_INS | (fl… in emit_single_op()
93 FAIL_IF(push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(TMP_REG1) | S2(0), SET_FLAGS)); in emit_single_op()
96 …urn push_inst(compiler, ADD | (flags & SET_FLAGS) | D(dst) | S1(dst) | IMM(1), UNMOVABLE_INS | (fl… in emit_single_op()
99 … push_inst(compiler, ADD | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(dst) | … in emit_single_op()
102 …push_inst(compiler, ADDC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(dst) | … in emit_single_op()
105 … push_inst(compiler, SUB | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(dst) | … in emit_single_op()
108 …push_inst(compiler, SUBC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(dst) | … in emit_single_op()
[all …]
H A DsljitNativeARM_T2_32.c515 #define SET_FLAGS 0x0100000 macro
543 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG2); in emit_op_imm()
546 if (!(flags & SET_FLAGS)) in emit_op_imm()
565 if (!(flags & SET_FLAGS)) { in emit_op_imm()
573 return push_inst32(compiler, ADD_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
578 return push_inst32(compiler, ADCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
586 return push_inst32(compiler, RSB_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
604 if (!(flags & SET_FLAGS)) { in emit_op_imm()
612 return push_inst32(compiler, SUB_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
619 return push_inst32(compiler, SBCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
[all …]
H A DsljitNativeARM_32.c975 #define SET_FLAGS (1 << 20) macro
989 return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, \
991 …return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, RM(…
993 return push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, flags & SET_FLAGS, \
1051 …n push_inst(compiler, EMIT_DATA_PROCESS_INS((flags & INV_IMM) ? MOV_DP : MVN_DP, flags & SET_FLAGS, in emit_single_op()
1054 …return push_inst(compiler, EMIT_DATA_PROCESS_INS(MVN_DP, flags & SET_FLAGS, dst, SLJIT_UNUSED, RM(… in emit_single_op()
1060 if (flags & SET_FLAGS) in emit_single_op()
1061 …return push_inst(compiler, EMIT_DATA_PROCESS_INS(CMP_DP, flags & SET_FLAGS, SLJIT_UNUSED, dst, SRC… in emit_single_op()
1066 return push_inst(compiler, EMIT_DATA_PROCESS_INS(ADD_DP, flags & SET_FLAGS, in emit_single_op()
1071 return push_inst(compiler, EMIT_DATA_PROCESS_INS(ADC_DP, flags & SET_FLAGS, in emit_single_op()
[all …]
H A DsljitNativeARM_64.c514 #define SET_FLAGS 0x0080000 macro
521 if (flags & SET_FLAGS) { \
563 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG1); in emit_op_imm()
596 if (imm > 0 && imm <= 0xffffff && !(flags & SET_FLAGS)) { in emit_op_imm()
600 if (nimm > 0 && nimm <= 0xffffff && !(flags & SET_FLAGS)) { in emit_op_imm()
678 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
684 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
688 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
694 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
698 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
[all …]
H A DsljitNativeSPARC_common.c122 #define SET_FLAGS OPC3(0x10) macro
827 sljit_s32 flags = HAS_FLAGS(op) ? SET_FLAGS : 0; in sljit_emit_op1()
896 sljit_s32 flags = HAS_FLAGS(op) ? SET_FLAGS : 0; in sljit_emit_op2()
1391 sljit_s32 reg, flags = HAS_FLAGS(op) ? SET_FLAGS : 0; in sljit_emit_op_flags()