Lines Matching refs:reg

29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm)  in load_immediate()  argument
32 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm)); in load_immediate()
35 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); in load_immediate()
37 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); in load_immediate()
38 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS; in load_immediate()
322 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw i… in emit_const() argument
324 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(init_value >> 16))); in emit_const()
325 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
432 sljit_s32 freg, sljit_s32 reg) in sljit_emit_fcopy() argument
437 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy()
441 FAIL_IF(push_inst(compiler, STW | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET)); in sljit_emit_fcopy()
446 return push_inst(compiler, LWZ | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET); in sljit_emit_fcopy()
449 if (reg & REG_PAIR_MASK) { in sljit_emit_fcopy()
450 reg2 = REG_PAIR_SECOND(reg); in sljit_emit_fcopy()
451 reg = REG_PAIR_FIRST(reg); in sljit_emit_fcopy()
455 FAIL_IF(push_inst(compiler, STW | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET_HI)); in sljit_emit_fcopy()
470 return push_inst(compiler, LWZ | S(reg) | A(SLJIT_SP) | TMP_MEM_OFFSET_HI); in sljit_emit_fcopy()