Lines Matching refs:inv_bits

811 		inv_bits |= flag_bits; \
821 sljit_ins inv_bits = (flags & INT_OP) ? W_OP : 0; in emit_op_imm() local
872 return push_inst(compiler, ((op == SLJIT_ADD ? ADDI : SUBI) ^ inv_bits) | RD(dst) | RN(reg)); in emit_op_imm()
876 return push_inst(compiler, (ADDI ^ inv_bits) | RD(dst) | RN(reg) | ((sljit_ins)imm << 10)); in emit_op_imm()
881 return push_inst(compiler, (SUBI ^ inv_bits) | RD(dst) | RN(reg) | ((sljit_ins)nimm << 10)); in emit_op_imm()
885 …return push_inst(compiler, (ADDI ^ inv_bits) | RD(dst) | RN(reg) | (((sljit_ins)imm >> 12) << 10) … in emit_op_imm()
889 …return push_inst(compiler, (SUBI ^ inv_bits) | RD(dst) | RN(reg) | (((sljit_ins)nimm >> 12) << 10)… in emit_op_imm()
892 …FAIL_IF(push_inst(compiler, (ADDI ^ inv_bits) | RD(dst) | RN(reg) | (((sljit_ins)imm >> 12) << 10)… in emit_op_imm()
893 …return push_inst(compiler, (ADDI ^ inv_bits) | RD(dst) | RN(dst) | (((sljit_ins)imm & 0xfff) << 10… in emit_op_imm()
896 …FAIL_IF(push_inst(compiler, (SUBI ^ inv_bits) | RD(dst) | RN(reg) | (((sljit_ins)nimm >> 12) << 10… in emit_op_imm()
897 …return push_inst(compiler, (SUBI ^ inv_bits) | RD(dst) | RN(dst) | (((sljit_ins)nimm & 0xfff) << 1… in emit_op_imm()
905 return push_inst(compiler, (ANDI ^ inv_bits) | RD(dst) | RN(reg) | inst_bits); in emit_op_imm()
908 FAIL_IF(push_inst(compiler, (ORN ^ inv_bits) | RD(dst) | RN(TMP_ZERO) | RM(reg))); in emit_op_imm()
920 FAIL_IF(push_inst(compiler, (inst_bits ^ inv_bits) | RD(dst) | RN(reg))); in emit_op_imm()
935 inv_bits |= inv_bits >> 9; in emit_op_imm()
936 FAIL_IF(push_inst(compiler, (UBFM ^ inv_bits) | RD(dst) | RN(arg1) | inst_bits)); in emit_op_imm()
945 inv_bits |= inv_bits >> 9; in emit_op_imm()
947 inv_bits |= 1 << 30; in emit_op_imm()
957 FAIL_IF(push_inst(compiler, (UBFM ^ inv_bits) | RD(dst) | RN(arg1) | inst_bits)); in emit_op_imm()
968 …return push_inst(compiler, (EXTR ^ (inv_bits | (inv_bits >> 9))) | RD(dst) | RN(arg1) | RM(arg1) |… in emit_op_imm()
1002 inv_bits |= inv_bits >> 9; in emit_op_imm()
1003 return push_inst(compiler, (UBFM ^ inv_bits) | RD(dst) | RN(arg2) | (7 << 10)); in emit_op_imm()
1006 inv_bits |= inv_bits >> 9; in emit_op_imm()
1007 return push_inst(compiler, (SBFM ^ inv_bits) | RD(dst) | RN(arg2) | (7 << 10)); in emit_op_imm()
1010 inv_bits |= inv_bits >> 9; in emit_op_imm()
1011 return push_inst(compiler, (UBFM ^ inv_bits) | RD(dst) | RN(arg2) | (15 << 10)); in emit_op_imm()
1014 inv_bits |= inv_bits >> 9; in emit_op_imm()
1015 return push_inst(compiler, (SBFM ^ inv_bits) | RD(dst) | RN(arg2) | (15 << 10)); in emit_op_imm()
1029 return push_inst(compiler, (CLZ ^ inv_bits) | RD(dst) | RN(arg2)); in emit_op_imm()
1032 FAIL_IF(push_inst(compiler, (RBIT ^ inv_bits) | RD(dst) | RN(arg2))); in emit_op_imm()
1033 return push_inst(compiler, (CLZ ^ inv_bits) | RD(dst) | RN(dst)); in emit_op_imm()
1036 inv_bits |= inv_bits >> 21; in emit_op_imm()
1037 return push_inst(compiler, (REV ^ inv_bits) | RD(dst) | RN(arg2)); in emit_op_imm()
1044 inv_bits |= inv_bits >> 9; in emit_op_imm()
1045 …return push_inst(compiler, ((op == SLJIT_REV_U16 ? UBFM : SBFM) ^ inv_bits) | RD(dst) | RN(dst) | … in emit_op_imm()
1056 return push_inst(compiler, (ADD ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2)); in emit_op_imm()
1060 return push_inst(compiler, (ADC ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2)); in emit_op_imm()
1064 return push_inst(compiler, (SUB ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2)); in emit_op_imm()
1068 return push_inst(compiler, (SBC ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2)); in emit_op_imm()
1072 return push_inst(compiler, (MADD ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2) | RT2(TMP_ZERO)); in emit_op_imm()
1083 return push_inst(compiler, (AND ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2)); in emit_op_imm()
1085 FAIL_IF(push_inst(compiler, (ORR ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2))); in emit_op_imm()
1088 FAIL_IF(push_inst(compiler, (EOR ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2))); in emit_op_imm()
1092 FAIL_IF(push_inst(compiler, (LSLV ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2))); in emit_op_imm()
1096 FAIL_IF(push_inst(compiler, (LSRV ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2))); in emit_op_imm()
1100 FAIL_IF(push_inst(compiler, (ASRV ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2))); in emit_op_imm()
1103 FAIL_IF(push_inst(compiler, (SUB ^ inv_bits) | RD(TMP_REG2) | RN(TMP_ZERO) | RM(arg2))); in emit_op_imm()
1107 return push_inst(compiler, (RORV ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2)); in emit_op_imm()
1110 return push_inst(compiler, (MADD ^ inv_bits) | RD(dst) | RN(arg1) | RM(arg2) | RT2(dst)); in emit_op_imm()
1118 return push_inst(compiler, (SUBS ^ inv_bits) | RD(TMP_ZERO) | RN(dst) | RM(TMP_ZERO)); in emit_op_imm()
1532 sljit_ins inv_bits = (op & SLJIT_32) ? W_OP : 0; in sljit_emit_op0() local
1550 FAIL_IF(push_inst(compiler, (MOV ^ inv_bits) | RD(TMP_REG1) | RM(SLJIT_R0))); in sljit_emit_op0()
1551 …FAIL_IF(push_inst(compiler, ((op == SLJIT_DIVMOD_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN… in sljit_emit_op0()
1552 …FAIL_IF(push_inst(compiler, (MADD ^ inv_bits) | RD(SLJIT_R1) | RN(SLJIT_R0) | RM(SLJIT_R1) | RT2(T… in sljit_emit_op0()
1553 return push_inst(compiler, (SUB ^ inv_bits) | RD(SLJIT_R1) | RN(TMP_REG1) | RM(SLJIT_R1)); in sljit_emit_op0()
1556 …return push_inst(compiler, ((op == SLJIT_DIV_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJ… in sljit_emit_op0()
1758 sljit_ins inv_bits, imm; in sljit_emit_shift_into() local
1774 inv_bits = (op & SLJIT_32) ? W_OP : 0; in sljit_emit_shift_into()
1777 mask = inv_bits ? 0x1f : 0x3f; in sljit_emit_shift_into()
1786 return push_inst(compiler, (EXTR ^ (inv_bits | (inv_bits >> 9))) | RD(dst_reg) in sljit_emit_shift_into()
1791 FAIL_IF(emit_op_mem(compiler, inv_bits ? INT_SIZE : WORD_SIZE, TMP_REG2, src3, src3w, TMP_REG2)); in sljit_emit_shift_into()
1798 …FAIL_IF(push_inst(compiler, ((is_left ? LSLV : LSRV) ^ inv_bits) | RD(dst_reg) | RN(src1_reg) | RM… in sljit_emit_shift_into()
1803 imm = (sljit_ins)(inv_bits ? ((1 << 16) | (31 << 10)) : ((1 << 16) | (63 << 10) | (1 << 22))); in sljit_emit_shift_into()
1805 imm = (sljit_ins)(inv_bits ? ((31 << 16) | (30 << 10)) : ((63 << 16) | (62 << 10) | (1 << 22))); in sljit_emit_shift_into()
1807 …FAIL_IF(push_inst(compiler, (UBFM ^ (inv_bits | (inv_bits >> 9))) | RD(TMP_REG1) | RN(src2_reg) | … in sljit_emit_shift_into()
1810 imm = (sljit_ins)(inv_bits ? (4 << 10) : ((5 << 10) | (1 << 22))); in sljit_emit_shift_into()
1811 FAIL_IF(push_inst(compiler, (EORI ^ inv_bits) | RD(TMP_REG2) | RN(src3) | imm)); in sljit_emit_shift_into()
1815 FAIL_IF(push_inst(compiler, (SUB ^ inv_bits) | RD(TMP_REG2) | RN(TMP_ZERO) | RM(src3))); in sljit_emit_shift_into()
1817 …FAIL_IF(push_inst(compiler, ((is_left ? LSRV : LSLV) ^ inv_bits) | RD(TMP_REG1) | RN(src2_reg) | R… in sljit_emit_shift_into()
1818 return push_inst(compiler, (ORR ^ inv_bits) | RD(dst_reg) | RN(dst_reg) | RM(TMP_REG1)); in sljit_emit_shift_into()
1968 sljit_ins inv_bits = (op & SLJIT_32) ? (1 << 22) : 0; in sljit_emit_fop1_conv_sw_from_f64() local
1971 inv_bits |= W_OP; in sljit_emit_fop1_conv_sw_from_f64()
1978 FAIL_IF(push_inst(compiler, (FCVTZS ^ inv_bits) | RD(dst_r) | VN(src))); in sljit_emit_fop1_conv_sw_from_f64()
2010 sljit_ins inv_bits = (op & SLJIT_32) ? (1 << 22) : 0; in sljit_emit_fop1_conv_f64_from_sw() local
2013 inv_bits |= W_OP; in sljit_emit_fop1_conv_f64_from_sw()
2019 return sljit_emit_fop1_conv_f64_from_w(compiler, SCVTF ^ inv_bits, dst, dstw, src, srcw); in sljit_emit_fop1_conv_f64_from_sw()
2026 sljit_ins inv_bits = (op & SLJIT_32) ? (1 << 22) : 0; in sljit_emit_fop1_conv_f64_from_uw() local
2029 inv_bits |= W_OP; in sljit_emit_fop1_conv_f64_from_uw()
2035 return sljit_emit_fop1_conv_f64_from_w(compiler, UCVTF ^ inv_bits, dst, dstw, src, srcw); in sljit_emit_fop1_conv_f64_from_uw()
2043 sljit_ins inv_bits = (op & SLJIT_32) ? (1 << 22) : 0; in sljit_emit_fop1_cmp() local
2055 FAIL_IF(push_inst(compiler, (FCMP ^ inv_bits) | VN(src1) | VM(src2))); in sljit_emit_fop1_cmp()
2069 sljit_ins inv_bits; in sljit_emit_fop1() local
2076 inv_bits = (op & SLJIT_32) ? (1 << 22) : 0; in sljit_emit_fop1()
2088 FAIL_IF(push_inst(compiler, (FMOV ^ inv_bits) | VD(dst_r) | VN(src))); in sljit_emit_fop1()
2094 FAIL_IF(push_inst(compiler, (FNEG ^ inv_bits) | VD(dst_r) | VN(src))); in sljit_emit_fop1()
2097 FAIL_IF(push_inst(compiler, (FABS ^ inv_bits) | VD(dst_r) | VN(src))); in sljit_emit_fop1()
2115 sljit_ins inv_bits = (op & SLJIT_32) ? (1 << 22) : 0; in sljit_emit_fop2() local
2135 FAIL_IF(push_inst(compiler, (FADD ^ inv_bits) | VD(dst_r) | VN(src1) | VM(src2))); in sljit_emit_fop2()
2138 FAIL_IF(push_inst(compiler, (FSUB ^ inv_bits) | VD(dst_r) | VN(src1) | VM(src2))); in sljit_emit_fop2()
2141 FAIL_IF(push_inst(compiler, (FMUL ^ inv_bits) | VD(dst_r) | VN(src1) | VM(src2))); in sljit_emit_fop2()
2144 FAIL_IF(push_inst(compiler, (FDIV ^ inv_bits) | VD(dst_r) | VN(src1) | VM(src2))); in sljit_emit_fop2()
2148 FAIL_IF(push_inst(compiler, (FABS ^ inv_bits) | VD(dst_r) | VN(src1))); in sljit_emit_fop2()
2150 return push_inst(compiler, (FNEG ^ inv_bits) | VD(dst_r) | VN(dst_r)); in sljit_emit_fop2()
2388 sljit_ins inv_bits = (type & SLJIT_32) ? W_OP : 0; in emit_cmp_to0() local
2399 …PTR_FAIL_IF(emit_op_mem(compiler, inv_bits ? INT_SIZE : WORD_SIZE, TMP_REG1, src, srcw, TMP_REG1)); in emit_cmp_to0()
2410 inv_bits |= 1 << 24; in emit_cmp_to0()
2412 PTR_FAIL_IF(push_inst(compiler, (CBZ ^ inv_bits) | (6 << 5) | RT(src))); in emit_cmp_to0()
2530 sljit_ins inv_bits = (type & SLJIT_32) ? W_OP : 0; in sljit_emit_select() local
2549 return push_inst(compiler, (CSEL ^ inv_bits) | (cc << 12) | RD(dst_reg) | RN(src2_reg) | RM(src1)); in sljit_emit_select()
2557 sljit_ins inv_bits = (type & SLJIT_32) ? (1 << 22) : 0; in sljit_emit_fselect() local
2571 …return push_inst(compiler, (FCSEL ^ inv_bits) | (cc << 12) | VD(dst_freg) | VN(src2_freg) | VM(src… in sljit_emit_fselect()
3316 sljit_ins inv_bits = W_OP; in sljit_emit_atomic_store() local
3338 inv_bits = 0; in sljit_emit_atomic_store()
3345 FAIL_IF(push_inst(compiler, (MOV ^ inv_bits) | RM(temp_reg) | RD(TMP_REG1))); in sljit_emit_atomic_store()
3353 FAIL_IF(push_inst(compiler, (CSET ^ inv_bits) | RD(tmp))); in sljit_emit_atomic_store()
3357 SLJIT_UNUSED_ARG(inv_bits); in sljit_emit_atomic_store()