Lines Matching refs:ins
463 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_s32 delay_slot) in push_inst() argument
467 || (sljit_ins)delay_slot == ((ins >> 11) & 0x1f) in push_inst()
468 || (sljit_ins)delay_slot == ((ins >> 16) & 0x1f)); in push_inst()
470 *ptr = ins; in push_inst()
666 sljit_ins *ins = (sljit_ins*)jump->addr; in load_addr_to_reg() local
668 sljit_u32 reg = (flags & JUMP_MOV_ADDR) ? *ins : PIC_ADDR_REG; in load_addr_to_reg()
671 ins[0] = LUI | T(reg) | IMM(addr >> 16); in load_addr_to_reg()
675 ins[0] = LUI | T(reg) | IMM(addr >> 16); in load_addr_to_reg()
679 ins[0] = LUI | T(reg) | IMM(addr >> 32); in load_addr_to_reg()
680 ins[1] = ORI | S(reg) | T(reg) | IMM((addr >> 16) & 0xffff); in load_addr_to_reg()
681 ins[2] = DSLL | T(reg) | D(reg) | SH_IMM(16); in load_addr_to_reg()
682 ins += 2; in load_addr_to_reg()
685 ins[0] = LUI | T(reg) | IMM(addr >> 48); in load_addr_to_reg()
686 ins[1] = ORI | S(reg) | T(reg) | IMM((addr >> 32) & 0xffff); in load_addr_to_reg()
687 ins[2] = DSLL | T(reg) | D(reg) | SH_IMM(16); in load_addr_to_reg()
688 ins[3] = ORI | S(reg) | T(reg) | IMM((addr >> 16) & 0xffff); in load_addr_to_reg()
689 ins[4] = DSLL | T(reg) | D(reg) | SH_IMM(16); in load_addr_to_reg()
690 ins += 4; in load_addr_to_reg()
694 ins[1] = ORI | S(reg) | T(reg) | IMM(addr & 0xffff); in load_addr_to_reg()
1248 sljit_ins ins; in sljit_emit_return_void() local
1253 emit_stack_frame_release(compiler, 0, &ins); in sljit_emit_return_void()
1256 return push_inst(compiler, ins, UNMOVABLE_INS); in sljit_emit_return_void()
1262 sljit_ins ins; in sljit_emit_return_to() local
1278 FAIL_IF(emit_stack_frame_release(compiler, 1, &ins)); in sljit_emit_return_to()
1282 return push_inst(compiler, ins, UNMOVABLE_INS); in sljit_emit_return_to()
1285 if (ins != NOP) in sljit_emit_return_to()
1286 FAIL_IF(push_inst(compiler, ins, MOVABLE_INS)); in sljit_emit_return_to()
1701 sljit_ins ins, op_dimm, op_dimm32, op_dv; in emit_single_op() local
2231 ins = op_dimm32; in emit_single_op()
2235 ins = (op & SLJIT_32) ? op_imm : op_dimm; in emit_single_op()
2238 FAIL_IF(push_inst(compiler, ins | T(src1) | DA(EQUAL_FLAG) | SH_IMM(src2), EQUAL_FLAG)); in emit_single_op()
2242 return push_inst(compiler, ins | T(src1) | D(dst) | SH_IMM(src2), DR(dst)); in emit_single_op()
2245 ins = (op & SLJIT_32) ? op_v : op_dv; in emit_single_op()
2247 FAIL_IF(push_inst(compiler, ins | S(src2) | T(src1) | DA(EQUAL_FLAG), EQUAL_FLAG)); in emit_single_op()
2251 return push_inst(compiler, ins | S(src2) | T(src1) | D(dst), DR(dst)); in emit_single_op()
3955 sljit_ins ins; in sljit_emit_mem() local
3976 ins = ((type & SLJIT_MEM_STORE) ? SWL : LWL) | S(mem); in sljit_emit_mem()
3979 ins = ((type & SLJIT_MEM_STORE) ? SDL : LDL) | S(mem); in sljit_emit_mem()
3983 …FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_FIRST(reg)) | IMM_LEFT(memw), DR(REG_PAIR_FIRST(reg))… in sljit_emit_mem()
3985 …FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_SECOND(reg)) | IMM_LEFT(memw + SSIZE_OF(sw)), DR(REG_… in sljit_emit_mem()
3992 ins = ((type & SLJIT_MEM_STORE) ? STORE_W : LOAD_W) | S(mem); in sljit_emit_mem()
3995 …FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_SECOND(reg)) | IMM(memw + SSIZE_OF(sw)), DR(REG_PAIR_… in sljit_emit_mem()
3996 return push_inst(compiler, ins | T(REG_PAIR_FIRST(reg)) | IMM(memw), DR(REG_PAIR_FIRST(reg))); in sljit_emit_mem()
3999 FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_FIRST(reg)) | IMM(memw), DR(REG_PAIR_FIRST(reg)))); in sljit_emit_mem()
4000 …return push_inst(compiler, ins | T(REG_PAIR_SECOND(reg)) | IMM(memw + SSIZE_OF(sw)), DR(REG_PAIR_S… in sljit_emit_mem()