Lines Matching refs:inst
717 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
718 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
721 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
722 (((inst) & ~(INT_ALIGNED | UPDATE_REQ)) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
846 sljit_ins inst; in getput_arg_fast() local
858 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg_fast()
859 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg_fast()
860 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(OFFS_R… in getput_arg_fast()
868 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg_fast()
869 SLJIT_ASSERT((arg & REG_MASK) || !(inst & UPDATE_REQ)); in getput_arg_fast()
871 …if (argw > SIMM_MAX || argw < SIMM_MIN || ((inst & INT_ALIGNED) && (argw & 0x3)) || (inst & UPDATE… in getput_arg_fast()
883 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg_fast()
884 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg_fast()
887 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | IMM(argw… in getput_arg_fast()
934 if ((inst & INT_ALIGNED) && (imm & 0x3)) { \
946 sljit_ins inst; in getput_arg() local
978 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
979 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
980 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(tmp_r)); in getput_arg()
986 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg()
987 SLJIT_ASSERT((arg & REG_MASK) || !(inst & UPDATE_REQ)); in getput_arg()
991 && (!(inst & INT_ALIGNED) || !(argw & 0x3)) && !(inst & UPDATE_REQ)) { in getput_arg()
1000 SLJIT_ASSERT(high_short && !(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1025 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(tmp_r) | IMM(argw)); in getput_arg()
1035 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3) | IMM(diff)); in getput_arg()
1048 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(tmp_r)); in getput_arg()
1053 SLJIT_ASSERT(!(inp_flags & WRITE_BACK) && !(inst & UPDATE_REQ)); in getput_arg()
1055 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3) | IMM(diff)); in getput_arg()
1059 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
1060 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1065 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(TMP_REG… in getput_arg()
1075 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
1076 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1077 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(TMP_REG… in getput_arg()
1089 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3)); in getput_arg()
1104 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
1105 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1106 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(tmp_r)); in getput_arg()