ftt_instr
bcopy(&tp->ftt_instr, &instr.ftiq_instr,
bcopy(tp->ftt_instr, &scratch[i], tp->ftt_size);
bcopy(tp->ftt_instr, &scratch[i], tp->ftt_size);
bcopy(instr, tp->ftt_instr, FASTTRAP_MAX_INSTR_SIZE);
tp->ftt_modrm = tp->ftt_instr[rmindex];
tp->ftt_instr[rmindex] =
if (uwrite(p, &tp->ftt_instr[0], 1, tp->ftt_pc) != 0)
if (uwrite(p, &tp->ftt_instr, 4, tp->ftt_pc) != 0)
tp->ftt_instr = instr;
imm = tp->ftt_instr << 19;
if (I(tp->ftt_instr)) {
imm = tp->ftt_instr << 19;
value = fasttrap_getreg(rp, RS1(tp->ftt_instr)) + imm;
value = fasttrap_getreg(rp, RS1(tp->ftt_instr)) +
fasttrap_getreg(rp, RS2(tp->ftt_instr));
rd = RD(tp->ftt_instr);
if (I(tp->ftt_instr)) {
imm = tp->ftt_instr << 19;
target = fasttrap_getreg(rp, RS1(tp->ftt_instr)) + imm;
target = fasttrap_getreg(rp, RS1(tp->ftt_instr)) +
fasttrap_getreg(rp, RS2(tp->ftt_instr));
if (I(tp->ftt_instr)) {
imm = tp->ftt_instr << 19;
value = fasttrap_getreg(rp, RS1(tp->ftt_instr)) | imm;
value = fasttrap_getreg(rp, RS1(tp->ftt_instr)) |
fasttrap_getreg(rp, RS2(tp->ftt_instr));
fasttrap_putreg(rp, RD(tp->ftt_instr), value);
if (RD(tp->ftt_instr) != R_G0) {
uint32_t imm32 = tp->ftt_instr << 10;
fasttrap_putreg(rp, RD(tp->ftt_instr), (ulong_t)imm32);
uint_t reg = RS1(tp->ftt_instr);
fasttrap_putreg(rp, RD(tp->ftt_instr), rp->r_pc);
if (I(tp->ftt_instr)) {
uint_t rs1 = RS1(tp->ftt_instr);
imm = tp->ftt_instr << 19;
uint_t rs1 = RS1(tp->ftt_instr);
uint_t rs2 = RS2(tp->ftt_instr);
fasttrap_putreg(rp, RD(tp->ftt_instr), rp->r_pc);
if (dtrace_blksuword32(rp->r_g7, &tp->ftt_instr, 1) == -1) {