Lines Matching refs:inst

609 tilegx_bundle_bits get_bundle_bit(struct jit_instr *inst)  in get_bundle_bit()  argument
612 const struct tilegx_opcode* opcode = inst->opcode; in get_bundle_bit()
613 tilegx_bundle_bits bits = opcode->fixed_bit_values[inst->pipe]; in get_bundle_bit()
617 operand = &tilegx_operands[opcode->operands[inst->pipe][i]]; in get_bundle_bit()
618 val = inst->operand_value[i]; in get_bundle_bit()
907 sljit_ins *inst; in detect_jump_type() local
920 inst = (sljit_ins *)jump->addr; in detect_jump_type()
922 inst--; in detect_jump_type()
924 diff = ((sljit_sw) target_addr - (sljit_sw) inst) >> 3; in detect_jump_type()
932 inst[0] = JAL_X1; in detect_jump_type()
936 print_insn_tilegx(inst); in detect_jump_type()
939 inst[0] = BEQZ_X1 | SRCA_X1(ZERO); in detect_jump_type()
943 print_insn_tilegx(inst); in detect_jump_type()
947 return inst; in detect_jump_type()
950 inst[0] = inst[0] ^ (0x7L << 55); in detect_jump_type()
954 print_insn_tilegx(inst); in detect_jump_type()
957 return inst; in detect_jump_type()
963 inst[0] = (inst[0] & ~(BOFF_X1(-1))) | BOFF_X1(2); in detect_jump_type()
964 inst[1] = J_X1; in detect_jump_type()
965 return inst + 1; in detect_jump_type()
975 inst[0] = JAL_X1; in detect_jump_type()
979 print_insn_tilegx(inst); in detect_jump_type()
983 inst[0] = J_X1; in detect_jump_type()
987 print_insn_tilegx(inst); in detect_jump_type()
991 return inst; in detect_jump_type()
2419 inst = BEQZ_X1 | SRCA_X1(src); \
2423 inst = BNEZ_X1 | SRCA_X1(src); \
2429 sljit_ins inst; in sljit_emit_jump() local
2489 inst = 0; in sljit_emit_jump()
2495 if (inst) { in sljit_emit_jump()
2496 inst = inst | ((type <= SLJIT_JUMP) ? BOFF_X1(5) : BOFF_X1(6)); in sljit_emit_jump()
2497 PTR_FAIL_IF(PI(inst)); in sljit_emit_jump()
2557 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_jump_addr() local
2559 inst[0] = (inst[0] & ~(0xFFFFL << 43)) | (((new_addr >> 32) & 0xffff) << 43); in sljit_set_jump_addr()
2560 inst[1] = (inst[1] & ~(0xFFFFL << 43)) | (((new_addr >> 16) & 0xffff) << 43); in sljit_set_jump_addr()
2561 inst[2] = (inst[2] & ~(0xFFFFL << 43)) | ((new_addr & 0xffff) << 43); in sljit_set_jump_addr()
2562 SLJIT_CACHE_FLUSH(inst, inst + 3); in sljit_set_jump_addr()
2567 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_const() local
2569 inst[0] = (inst[0] & ~(0xFFFFL << 43)) | (((new_constant >> 48) & 0xFFFFL) << 43); in sljit_set_const()
2570 inst[1] = (inst[1] & ~(0xFFFFL << 43)) | (((new_constant >> 32) & 0xFFFFL) << 43); in sljit_set_const()
2571 inst[2] = (inst[2] & ~(0xFFFFL << 43)) | (((new_constant >> 16) & 0xFFFFL) << 43); in sljit_set_const()
2572 inst[3] = (inst[3] & ~(0xFFFFL << 43)) | ((new_constant & 0xFFFFL) << 43); in sljit_set_const()
2573 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_const()