Lines Matching refs:imm
29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si dst_ar, sljit_sw imm) in load_immediate() argument
37 if (!(imm & ~0xffff)) in load_immediate()
38 return push_inst(compiler, ORI | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate()
40 if (imm < 0 && imm >= SIMM_MIN) in load_immediate()
41 return push_inst(compiler, ADDIU | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate()
43 if (imm <= 0x7fffffffl && imm >= -0x80000000l) { in load_immediate()
44 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); in load_immediate()
45 …return (imm & 0xffff) ? push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(imm), dst_ar) : SL… in load_immediate()
49 uimm = imm; in load_immediate()
50 if (imm < 0) { in load_immediate()
51 uimm = ~imm; in load_immediate()
83 imm &= (1l << shift) - 1; in load_immediate()
84 if (!(imm & ~0xffff)) { in load_immediate()
89 …return !(imm & 0xffff) ? SLJIT_SUCCESS : push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(i… in load_immediate()
117 imm &= (1l << shift2) - 1; in load_immediate()
118 …return !(imm & 0xffff) ? SLJIT_SUCCESS : push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(i… in load_immediate()