Lines Matching refs:nimm
517 sljit_uw imm, nimm; in emit_op_imm() local
545 nimm = -imm; in emit_op_imm()
549 if (nimm <= 0x7) in emit_op_imm()
550 return push_inst16(compiler, SUBSI3 | IMM3(nimm) | RD3(dst) | RN3(reg)); in emit_op_imm()
554 if (nimm <= 0xff) in emit_op_imm()
555 return push_inst16(compiler, SUBSI8 | IMM8(nimm) | RDN3(dst)); in emit_op_imm()
561 if (nimm <= 0xfff) in emit_op_imm()
562 return push_inst32(compiler, SUBWI | RD4(dst) | RN4(reg) | IMM12(nimm)); in emit_op_imm()
582 nimm = -imm; in emit_op_imm()
586 if (nimm <= 0x7) in emit_op_imm()
587 return push_inst16(compiler, ADDSI3 | IMM3(nimm) | RD3(dst) | RN3(reg)); in emit_op_imm()
591 if (nimm <= 0xff) in emit_op_imm()
592 return push_inst16(compiler, ADDSI8 | IMM8(nimm) | RDN3(dst)); in emit_op_imm()
600 if (nimm <= 0xfff) in emit_op_imm()
601 return push_inst32(compiler, ADDWI | RD4(dst) | RN4(reg) | IMM12(nimm)); in emit_op_imm()
615 nimm = get_imm(imm); in emit_op_imm()
616 if (nimm != INVALID_IMM) in emit_op_imm()
617 return push_inst32(compiler, ANDI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | nimm); in emit_op_imm()
623 nimm = get_imm(imm); in emit_op_imm()
624 if (nimm != INVALID_IMM) in emit_op_imm()
625 return push_inst32(compiler, ORRI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | nimm); in emit_op_imm()