Lines Matching refs:inst

755 #define INST_CODE_AND_DST(inst, flags, reg) \  argument
756 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
759 #define INST_CODE_AND_DST(inst, flags, reg) \ argument
760 (((inst) & ~(INT_ALIGNED | UPDATE_REQ)) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg)))
884 sljit_ins inst; in getput_arg_fast() local
896 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg_fast()
897 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg_fast()
898 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(OFFS_R… in getput_arg_fast()
906 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg_fast()
907 SLJIT_ASSERT((arg & REG_MASK) || !(inst & UPDATE_REQ)); in getput_arg_fast()
909 …if (argw > SIMM_MAX || argw < SIMM_MIN || ((inst & INT_ALIGNED) && (argw & 0x3)) || (inst & UPDATE… in getput_arg_fast()
921 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg_fast()
922 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg_fast()
925 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | IMM(argw… in getput_arg_fast()
972 if ((inst & INT_ALIGNED) && (imm & 0x3)) { \
984 sljit_ins inst; in getput_arg() local
1016 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
1017 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1018 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(tmp_r)); in getput_arg()
1024 inst = data_transfer_insts[inp_flags & MEM_MASK]; in getput_arg()
1025 SLJIT_ASSERT((arg & REG_MASK) || !(inst & UPDATE_REQ)); in getput_arg()
1029 && (!(inst & INT_ALIGNED) || !(argw & 0x3)) && !(inst & UPDATE_REQ)) { in getput_arg()
1038 SLJIT_ASSERT(high_short && !(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1059 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(tmp_r) | IMM(argw)); in getput_arg()
1069 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3) | IMM(diff)); in getput_arg()
1082 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(tmp_r)); in getput_arg()
1087 SLJIT_ASSERT(!(inp_flags & WRITE_BACK) && !(inst & UPDATE_REQ)); in getput_arg()
1089 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3) | IMM(diff)); in getput_arg()
1093 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
1094 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1099 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(TMP_REG… in getput_arg()
1109 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
1110 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1111 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(TMP_REG… in getput_arg()
1123 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3)); in getput_arg()
1138 inst = data_transfer_insts[(inp_flags | INDEXED) & MEM_MASK]; in getput_arg()
1139 SLJIT_ASSERT(!(inst & (INT_ALIGNED | UPDATE_REQ))); in getput_arg()
1140 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(tmp_r)); in getput_arg()