Lines Matching refs:inst

244 	sljit_ins *inst;  in detect_jump_type()  local
262 inst = (sljit_ins *)jump->addr; in detect_jump_type()
264 inst--; in detect_jump_type()
273 diff = ((sljit_sw)target_addr - (sljit_sw)inst - executable_offset) >> 2; in detect_jump_type()
278 inst[0] = inst[-1]; in detect_jump_type()
279 inst[-1] = (jump->flags & IS_JAL) ? BAL : B; in detect_jump_type()
281 return inst; in detect_jump_type()
283 saved_inst = inst[0]; in detect_jump_type()
284 inst[0] = inst[-1]; in detect_jump_type()
285 inst[-1] = saved_inst ^ invert_branch(jump->flags); in detect_jump_type()
287 return inst; in detect_jump_type()
291 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1) - executable_offset) >> 2; in detect_jump_type()
296 inst[0] = (jump->flags & IS_JAL) ? BAL : B; in detect_jump_type()
297 inst[1] = NOP; in detect_jump_type()
298 return inst + 1; in detect_jump_type()
300 inst[0] = inst[0] ^ invert_branch(jump->flags); in detect_jump_type()
301 inst[1] = NOP; in detect_jump_type()
303 return inst + 1; in detect_jump_type()
310 saved_inst = inst[0]; in detect_jump_type()
311 inst[0] = inst[-1]; in detect_jump_type()
312 inst[-1] = (saved_inst & 0xffff0000) | 3; in detect_jump_type()
313 inst[1] = J; in detect_jump_type()
314 inst[2] = NOP; in detect_jump_type()
315 return inst + 2; in detect_jump_type()
319 inst[0] = (inst[0] & 0xffff0000) | 3; in detect_jump_type()
320 inst[1] = NOP; in detect_jump_type()
321 inst[2] = J; in detect_jump_type()
322 inst[3] = NOP; in detect_jump_type()
324 return inst + 3; in detect_jump_type()
331 inst[0] = inst[-1]; in detect_jump_type()
332 inst[-1] = (jump->flags & IS_JAL) ? JAL : J; in detect_jump_type()
334 return inst; in detect_jump_type()
339 inst[0] = (jump->flags & IS_JAL) ? JAL : J; in detect_jump_type()
340 inst[1] = NOP; in detect_jump_type()
341 return inst + 1; in detect_jump_type()
350 inst[0] -= 4; in detect_jump_type()
351 inst++; in detect_jump_type()
353 inst[2] = inst[6]; in detect_jump_type()
354 inst[3] = inst[7]; in detect_jump_type()
355 return inst + 3; in detect_jump_type()
360 inst[0] -= 2; in detect_jump_type()
361 inst++; in detect_jump_type()
363 inst[4] = inst[6]; in detect_jump_type()
364 inst[5] = inst[7]; in detect_jump_type()
365 return inst + 5; in detect_jump_type()
1381 sljit_ins inst; in sljit_emit_fop1_cmp() local
1396 inst = C_UEQ_S; in sljit_emit_fop1_cmp()
1400 inst = C_ULT_S; in sljit_emit_fop1_cmp()
1404 inst = C_ULE_S; in sljit_emit_fop1_cmp()
1408 inst = C_UN_S; in sljit_emit_fop1_cmp()
1412 return push_inst(compiler, inst | FMT(op) | FT(src2) | FS(src1), UNMOVABLE_INS); in sljit_emit_fop1_cmp()
1602 inst = BEQ | SA(src) | TA(0) | JUMP_LENGTH; \
1607 inst = BNE | SA(src) | TA(0) | JUMP_LENGTH; \
1612 inst = BC1T | JUMP_LENGTH; \
1617 inst = BC1F | JUMP_LENGTH; \
1624 sljit_ins inst; in sljit_emit_jump() local
1673 inst = 0; in sljit_emit_jump()
1681 if (inst) in sljit_emit_jump()
1682 PTR_FAIL_IF(push_inst(compiler, inst, UNMOVABLE_INS)); in sljit_emit_jump()
1724 sljit_ins inst; in sljit_emit_cmp() local
1757 inst = NOP; in sljit_emit_cmp()
1762 inst = BLEZ; in sljit_emit_cmp()
1766 inst = BGTZ; in sljit_emit_cmp()
1770 inst = BGEZ; in sljit_emit_cmp()
1774 inst = BLTZ; in sljit_emit_cmp()
1784 inst = BGEZ; in sljit_emit_cmp()
1788 inst = BLTZ; in sljit_emit_cmp()
1792 inst = BLEZ; in sljit_emit_cmp()
1796 inst = BGTZ; in sljit_emit_cmp()
1801 PTR_FAIL_IF(push_inst(compiler, inst | S(src1) | JUMP_LENGTH, UNMOVABLE_INS)); in sljit_emit_cmp()