Lines Matching refs:inst

225 	sljit_ins *inst;  in detect_jump_type()  local
242 inst = (sljit_ins*)jump->addr; in detect_jump_type()
244 inst--; in detect_jump_type()
253 diff = ((sljit_sw)target_addr - (sljit_sw)(inst)) >> 2; in detect_jump_type()
258 inst[0] = inst[-1]; in detect_jump_type()
259 inst[-1] = (jump->flags & IS_JAL) ? BAL : B; in detect_jump_type()
261 return inst; in detect_jump_type()
263 saved_inst = inst[0]; in detect_jump_type()
264 inst[0] = inst[-1]; in detect_jump_type()
265 inst[-1] = saved_inst ^ invert_branch(jump->flags); in detect_jump_type()
267 return inst; in detect_jump_type()
271 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1)) >> 2; in detect_jump_type()
276 inst[0] = (jump->flags & IS_JAL) ? BAL : B; in detect_jump_type()
277 inst[1] = NOP; in detect_jump_type()
278 return inst + 1; in detect_jump_type()
280 inst[0] = inst[0] ^ invert_branch(jump->flags); in detect_jump_type()
281 inst[1] = NOP; in detect_jump_type()
283 return inst + 1; in detect_jump_type()
290 saved_inst = inst[0]; in detect_jump_type()
291 inst[0] = inst[-1]; in detect_jump_type()
292 inst[-1] = (saved_inst & 0xffff0000) | 3; in detect_jump_type()
293 inst[1] = J; in detect_jump_type()
294 inst[2] = NOP; in detect_jump_type()
295 return inst + 2; in detect_jump_type()
299 inst[0] = (inst[0] & 0xffff0000) | 3; in detect_jump_type()
300 inst[1] = NOP; in detect_jump_type()
301 inst[2] = J; in detect_jump_type()
302 inst[3] = NOP; in detect_jump_type()
304 return inst + 3; in detect_jump_type()
311 inst[0] = inst[-1]; in detect_jump_type()
312 inst[-1] = (jump->flags & IS_JAL) ? JAL : J; in detect_jump_type()
314 return inst; in detect_jump_type()
319 inst[0] = (jump->flags & IS_JAL) ? JAL : J; in detect_jump_type()
320 inst[1] = NOP; in detect_jump_type()
321 return inst + 1; in detect_jump_type()
330 inst[0] -= 4; in detect_jump_type()
331 inst++; in detect_jump_type()
333 inst[2] = inst[6]; in detect_jump_type()
334 inst[3] = inst[7]; in detect_jump_type()
335 return inst + 3; in detect_jump_type()
340 inst[0] -= 2; in detect_jump_type()
341 inst++; in detect_jump_type()
343 inst[4] = inst[6]; in detect_jump_type()
344 inst[5] = inst[7]; in detect_jump_type()
345 return inst + 5; in detect_jump_type()
1601 inst = BEQ | SA(src) | TA(0) | JUMP_LENGTH; \
1606 inst = BNE | SA(src) | TA(0) | JUMP_LENGTH; \
1611 inst = BC1T | JUMP_LENGTH; \
1616 inst = BC1F | JUMP_LENGTH; \
1623 sljit_ins inst; in sljit_emit_jump() local
1688 inst = 0; in sljit_emit_jump()
1696 if (inst) in sljit_emit_jump()
1697 PTR_FAIL_IF(push_inst(compiler, inst, UNMOVABLE_INS)); in sljit_emit_jump()
1742 sljit_ins inst; in sljit_emit_cmp() local
1775 inst = NOP; in sljit_emit_cmp()
1780 inst = BLEZ; in sljit_emit_cmp()
1784 inst = BGTZ; in sljit_emit_cmp()
1788 inst = BGEZ; in sljit_emit_cmp()
1792 inst = BLTZ; in sljit_emit_cmp()
1802 inst = BGEZ; in sljit_emit_cmp()
1806 inst = BLTZ; in sljit_emit_cmp()
1810 inst = BLEZ; in sljit_emit_cmp()
1814 inst = BGTZ; in sljit_emit_cmp()
1819 PTR_FAIL_IF(push_inst(compiler, inst | S(src1) | JUMP_LENGTH, UNMOVABLE_INS)); in sljit_emit_cmp()
1862 sljit_ins inst; in sljit_emit_fcmp() local
1892 inst = C_UEQ_S; in sljit_emit_fcmp()
1896 inst = C_UEQ_S; in sljit_emit_fcmp()
1900 inst = C_ULT_S; in sljit_emit_fcmp()
1904 inst = C_ULT_S; in sljit_emit_fcmp()
1908 inst = C_ULE_S; in sljit_emit_fcmp()
1912 inst = C_ULE_S; in sljit_emit_fcmp()
1916 inst = C_UN_S; in sljit_emit_fcmp()
1922 inst = C_UN_S; in sljit_emit_fcmp()
1927 PTR_FAIL_IF(push_inst(compiler, inst | FMT(type) | FT(src2) | FS(src1), UNMOVABLE_INS)); in sljit_emit_fcmp()