Lines Matching refs:inst
607 tilegx_bundle_bits get_bundle_bit(struct jit_instr *inst) in get_bundle_bit() argument
610 const struct tilegx_opcode* opcode = inst->opcode; in get_bundle_bit()
611 tilegx_bundle_bits bits = opcode->fixed_bit_values[inst->pipe]; in get_bundle_bit()
615 operand = &tilegx_operands[opcode->operands[inst->pipe][i]]; in get_bundle_bit()
616 val = inst->operand_value[i]; in get_bundle_bit()
907 sljit_ins *inst; in detect_jump_type() local
919 inst = (sljit_ins *)jump->addr; in detect_jump_type()
921 inst--; in detect_jump_type()
923 diff = ((sljit_sw) target_addr - (sljit_sw) inst) >> 3; in detect_jump_type()
931 inst[0] = JAL_X1; in detect_jump_type()
935 print_insn_tilegx(inst); in detect_jump_type()
938 inst[0] = BEQZ_X1 | SRCA_X1(ZERO); in detect_jump_type()
942 print_insn_tilegx(inst); in detect_jump_type()
946 return inst; in detect_jump_type()
949 inst[0] = inst[0] ^ (0x7L << 55); in detect_jump_type()
953 print_insn_tilegx(inst); in detect_jump_type()
956 return inst; in detect_jump_type()
962 inst[0] = (inst[0] & ~(BOFF_X1(-1))) | BOFF_X1(2); in detect_jump_type()
963 inst[1] = J_X1; in detect_jump_type()
964 return inst + 1; in detect_jump_type()
974 inst[0] = JAL_X1; in detect_jump_type()
978 print_insn_tilegx(inst); in detect_jump_type()
982 inst[0] = J_X1; in detect_jump_type()
986 print_insn_tilegx(inst); in detect_jump_type()
990 return inst; in detect_jump_type()
2397 inst = BEQZ_X1 | SRCA_X1(src); \
2401 inst = BNEZ_X1 | SRCA_X1(src); \
2407 sljit_ins inst; in sljit_emit_jump() local
2461 inst = 0; in sljit_emit_jump()
2467 if (inst) { in sljit_emit_jump()
2468 inst = inst | ((type <= SLJIT_JUMP) ? BOFF_X1(5) : BOFF_X1(6)); in sljit_emit_jump()
2469 PTR_FAIL_IF(PI(inst)); in sljit_emit_jump()
2529 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_jump_addr() local
2531 inst[0] = (inst[0] & ~(0xFFFFL << 43)) | (((new_addr >> 32) & 0xffff) << 43); in sljit_set_jump_addr()
2532 inst[1] = (inst[1] & ~(0xFFFFL << 43)) | (((new_addr >> 16) & 0xffff) << 43); in sljit_set_jump_addr()
2533 inst[2] = (inst[2] & ~(0xFFFFL << 43)) | ((new_addr & 0xffff) << 43); in sljit_set_jump_addr()
2534 SLJIT_CACHE_FLUSH(inst, inst + 3); in sljit_set_jump_addr()
2539 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_const() local
2541 inst[0] = (inst[0] & ~(0xFFFFL << 43)) | (((new_constant >> 48) & 0xFFFFL) << 43); in sljit_set_const()
2542 inst[1] = (inst[1] & ~(0xFFFFL << 43)) | (((new_constant >> 32) & 0xFFFFL) << 43); in sljit_set_const()
2543 inst[2] = (inst[2] & ~(0xFFFFL << 43)) | (((new_constant >> 16) & 0xFFFFL) << 43); in sljit_set_const()
2544 inst[3] = (inst[3] & ~(0xFFFFL << 43)) | ((new_constant & 0xFFFFL) << 43); in sljit_set_const()
2545 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_const()