Lines Matching refs:reg
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)))
882 …t_arg_fast(struct sljit_compiler *compiler, sljit_s32 inp_flags, sljit_s32 reg, sljit_s32 arg, slj… in getput_arg_fast() argument
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()
925 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | IMM(argw… in getput_arg_fast()
981 static sljit_s32 getput_arg(struct sljit_compiler *compiler, sljit_s32 inp_flags, sljit_s32 reg, sl… in getput_arg() argument
992 tmp_r = ((inp_flags & LOAD_DATA) && ((inp_flags) & MEM_MASK) <= GPR_REG) ? reg : TMP_REG1; 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()
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()
1089 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3) | IMM(diff)); 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()
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()
1140 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(tmp_r)); in getput_arg()
1144 …2 emit_op_mem2(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg1, sl… in emit_op_mem2() argument
1146 if (getput_arg_fast(compiler, flags, reg, arg1, arg1w)) in emit_op_mem2()
1148 return getput_arg(compiler, flags, reg, arg1, arg1w, arg2, arg2w); in emit_op_mem2()
1731 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg) in sljit_get_register_index() argument
1733 CHECK_REG_INDEX(check_sljit_get_register_index(reg)); in sljit_get_register_index()
1734 return reg_map[reg]; in sljit_get_register_index()
1737 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg) in sljit_get_float_register_index() argument
1739 CHECK_REG_INDEX(check_sljit_get_float_register_index(reg)); in sljit_get_float_register_index()
1740 return reg; in sljit_get_float_register_index()
2261 sljit_s32 reg, input_flags, cr_bit, invert; in sljit_emit_op_flags() local
2276 reg = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
2370 FAIL_IF(push_inst(compiler, MFCR | D(reg))); in sljit_emit_op_flags()
2371 …FAIL_IF(push_inst(compiler, RLWINM | S(reg) | A(reg) | ((1 + (cr_bit)) << 11) | (31 << 6) | (31 <<… in sljit_emit_op_flags()
2374 FAIL_IF(push_inst(compiler, XORI | S(reg) | A(reg) | 0x1)); in sljit_emit_op_flags()
2379 return emit_op_mem2(compiler, input_flags, reg, dst, dstw, reg, 0); in sljit_emit_op_flags()
2404 sljit_s32 reg; in sljit_emit_const() local
2414 reg = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
2416 PTR_FAIL_IF(emit_const(compiler, reg, init_value)); in sljit_emit_const()