Lines Matching refs:ins

304 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins)  in push_inst()  argument
308 *ptr = ins; in push_inst()
350 diff -= SSIZE_OF(ins); in detect_jump_type()
435 sljit_ins *ins = (sljit_ins*)jump->addr; in generate_jump_or_mov_addr() local
442 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(ins, executable_offset); in generate_jump_or_mov_addr()
444 ins[0] = BCx | ((sljit_ins)addr & 0xfffc) | (ins[0] & 0x03ff0001); in generate_jump_or_mov_addr()
447 ins[0] = BCx | ((sljit_ins)addr & 0xfffc) | 0x2 | ((*ins) & 0x03ff0001); in generate_jump_or_mov_addr()
453 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(ins, executable_offset); in generate_jump_or_mov_addr()
455 ins[0] = Bx | ((sljit_ins)addr & 0x03fffffc) | (ins[0] & 0x1); in generate_jump_or_mov_addr()
458 ins[0] = Bx | ((sljit_ins)addr & 0x03fffffc) | 0x2 | (ins[0] & 0x1); in generate_jump_or_mov_addr()
463 reg = (flags & JUMP_MOV_ADDR) ? (sljit_s32)ins[0] : TMP_CALL_REG; in generate_jump_or_mov_addr()
466 ins[0] = ADDIS | D(reg) | A(0) | IMM(addr >> 16); in generate_jump_or_mov_addr()
467 ins[1] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
473 ins[0] = ADDIS | D(reg) | A(0) | IMM(addr >> 16); in generate_jump_or_mov_addr()
474 ins[1] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
480 ins[0] = ADDIS | D(reg) | A(0) | IMM(addr >> 32); in generate_jump_or_mov_addr()
481 ins[1] = ORI | S(reg) | A(reg) | IMM(addr >> 16); in generate_jump_or_mov_addr()
482 ins[2] = SLDI(16) | S(reg) | A(reg); in generate_jump_or_mov_addr()
483 ins[3] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
487 ins[0] = ADDIS | D(reg) | A(0) | IMM(addr >> 48); in generate_jump_or_mov_addr()
488 ins[1] = ORI | S(reg) | A(reg) | IMM(addr >> 32); in generate_jump_or_mov_addr()
489 ins[2] = SLDI(32) | S(reg) | A(reg); in generate_jump_or_mov_addr()
490 ins[3] = ORIS | S(reg) | A(reg) | IMM(addr >> 16); in generate_jump_or_mov_addr()
491 ins[4] = ORI | S(reg) | A(reg) | IMM(addr); in generate_jump_or_mov_addr()
552 if (diff <= (0x7fff / SSIZE_OF(ins)) && diff >= (-0x8000 / SSIZE_OF(ins))) in reduce_code_size()
554 …else if ((diff - 1) <= (0x01ffffff / SSIZE_OF(ins)) && (diff - 1) >= (-0x02000000 / SSIZE_OF(ins))) in reduce_code_size()
556 } else if (diff <= (0x01ffffff / SSIZE_OF(ins)) && diff >= (-0x02000000 / SSIZE_OF(ins))) in reduce_code_size()