Lines Matching defs:tinstr

390 	uint32_t *tinstr = (uint32_t *)tramp->fbtt_next;
405 *tinstr++ = first;
407 *tinstr++ = FBT_SAVEIMM(FBT_REG_O6, -SA(MINFRAME), FBT_REG_O6);
411 *tinstr++ = FBT_SETHI(id, FBT_REG_O0);
412 *tinstr++ = FBT_ORLO(FBT_REG_O0, id, FBT_REG_O0);
414 *tinstr++ = FBT_ORSIMM13(FBT_REG_G0, id, FBT_REG_O0);
418 *tinstr++ = FBT_MOV(FBT_REG_I0, FBT_REG_O1);
421 *tinstr++ = FBT_MOV(FBT_REG_I1, FBT_REG_O2);
424 *tinstr++ = FBT_MOV(FBT_REG_I2, FBT_REG_O3);
427 *tinstr++ = FBT_MOV(FBT_REG_I3, FBT_REG_O4);
430 *tinstr++ = FBT_MOV(FBT_REG_I4, FBT_REG_O5);
435 *tinstr++ = FBT_SETHI(ret, FBT_REG_G1);
436 *tinstr = FBT_CALL((uintptr_t)tinstr - base + va, dtrace_probe);
437 tinstr++;
438 *tinstr++ = FBT_ORLO(FBT_REG_G1, ret, FBT_REG_O7);
440 uintptr_t slot = *--tinstr;
444 *tinstr = FBT_CALL((uintptr_t)tinstr - base + va, dtrace_probe);
445 tinstr++;
446 *tinstr++ = slot;
447 *tinstr++ = FBT_RESTORE(FBT_REG_G0, FBT_REG_G0, FBT_REG_G0);
468 *tinstr = FBT_BA((uintptr_t)tinstr - base + va, ret);
469 tinstr++;
470 *tinstr++ = delay;
488 *tinstr = first & ~(FBT_DISP16_MASK);
489 *tinstr |= FBT_DISP14(tinstr, &tinstr[3]);
490 tinstr++;
491 *tinstr++ = *(instr + 1);
492 *tinstr = FBT_BAA((uintptr_t)tinstr - base + va,
494 tinstr++;
495 *tinstr = FBT_BAA((uintptr_t)tinstr - base + va, targ);
496 tinstr++;
500 tramp->fbtt_va += (uintptr_t)tinstr - tramp->fbtt_next;
501 tramp->fbtt_next = (uintptr_t)tinstr;
686 uint32_t *tinstr = (uint32_t *)tramp->fbtt_next;
722 *tinstr++ = restore;
723 *tinstr++ = delay;
724 *tinstr++ = FBT_SAVEIMM(FBT_REG_O6,
761 *tinstr++ = FBT_MOV(rs1, local);
770 *tinstr++ = FBT_MOV(rs2, local);
780 *tinstr++ = FBT_MOV(rs1, local);
789 *tinstr++ = FBT_MOV(rs2, local);
794 *tinstr++ = FBT_SETHI(id, FBT_REG_O0);
795 *tinstr++ = FBT_ORLO(FBT_REG_O0, id, FBT_REG_O0);
797 *tinstr++ = FBT_ORSIMM13(FBT_REG_G0, id, FBT_REG_O0);
801 *tinstr++ = FBT_SETHI(offset, FBT_REG_O1);
802 *tinstr++ = FBT_ORLO(FBT_REG_O1, offset, FBT_REG_O1);
804 *tinstr++ = FBT_ORSIMM13(FBT_REG_G0, offset, FBT_REG_O1);
807 *tinstr = FBT_CALL((uintptr_t)tinstr - base + va, dtrace_probe);
808 tinstr++;
818 *tinstr++ = add | (FBT_REG_O2 << FBT_FMT3_RD_SHIFT);
820 *tinstr++ = FBT_MOV(FBT_REG_I0, FBT_REG_O2);
829 *tinstr = FBT_CALL((uintptr_t)tinstr - base + va, dest);
830 tinstr++;
832 *tinstr++ = cti;
835 *tinstr++ = restore;
836 tramp->fbtt_va += (uintptr_t)tinstr - tramp->fbtt_next;
837 tramp->fbtt_next = (uintptr_t)tinstr;
846 uint32_t *tinstr = (uint32_t *)tramp->fbtt_next;
863 *tinstr++ = *instr;
871 *tinstr++ = *(instr + 1);
875 *tinstr++ = FBT_SAVEIMM(FBT_REG_O6, -SA(MINFRAME), FBT_REG_O6);
892 *tinstr++ = FBT_MOV(rs1, FBT_REG_L0);
905 *tinstr++ = FBT_MOV(rs2, FBT_REG_L1);
926 *tinstr++ = FBT_ADDSIMM13(rs1,
929 *tinstr++ = FBT_ADD(rs1, rs2, FBT_REG_L2);
932 *tinstr++ = FBT_SETHI(base, FBT_REG_L3);
933 *tinstr++ = FBT_ORLO(FBT_REG_L3, base, FBT_REG_L3);
934 *tinstr++ = FBT_CMP(FBT_REG_L2, FBT_REG_L3);
935 *tinstr++ = FBT_BL(0, 8 * sizeof (uint32_t));
936 *tinstr++ = FBT_SETHI(limit, FBT_REG_L3);
937 *tinstr++ = FBT_ORLO(FBT_REG_L3, limit, FBT_REG_L3);
938 *tinstr++ = FBT_CMP(FBT_REG_L2, FBT_REG_L3);
939 *tinstr++ = FBT_BGE(0, 4 * sizeof (uint32_t));
940 *tinstr++ = FBT_SETHI(0, FBT_REG_G0);
941 *tinstr++ = cti;
942 *tinstr++ = FBT_RESTORE(FBT_REG_G0,
948 *tinstr++ = FBT_SETHI(id, FBT_REG_O0);
949 *tinstr++ = FBT_ORLO(FBT_REG_O0, id, FBT_REG_O0);
951 *tinstr++ = FBT_ORSIMM13(FBT_REG_G0, id, FBT_REG_O0);
955 *tinstr++ = FBT_SETHI(offset, FBT_REG_O1);
956 *tinstr++ = FBT_ORLO(FBT_REG_O1, offset, FBT_REG_O1);
958 *tinstr++ = FBT_ORSIMM13(FBT_REG_G0, offset, FBT_REG_O1);
961 *tinstr = FBT_CALL((uintptr_t)tinstr - base + va, dtrace_probe);
962 tinstr++;
963 *tinstr++ = FBT_MOV(FBT_REG_I0, FBT_REG_O2);
972 *tinstr = FBT_CALL((uintptr_t)tinstr - base + va, dest);
973 tinstr++;
977 *tinstr++ = cti;
984 *tinstr++ = FBT_RET;
988 *tinstr++ = FBT_RESTORE(FBT_REG_G0, FBT_REG_G0, FBT_REG_G0);
990 tramp->fbtt_va += (uintptr_t)tinstr - tramp->fbtt_next;
991 tramp->fbtt_next = (uintptr_t)tinstr;