Lines Matching defs:pc
5711 uint_t pc = 0, id, opc;
5724 while (pc < textlen && !(*flags & CPU_DTRACE_FAULT)) {
5725 opc = pc;
5727 instr = text[pc++];
5821 pc = DIF_INSTR_LABEL(instr);
5825 pc = DIF_INSTR_LABEL(instr);
5829 pc = DIF_INSTR_LABEL(instr);
5833 pc = DIF_INSTR_LABEL(instr);
5837 pc = DIF_INSTR_LABEL(instr);
5841 pc = DIF_INSTR_LABEL(instr);
5845 pc = DIF_INSTR_LABEL(instr);
5849 pc = DIF_INSTR_LABEL(instr);
5853 pc = DIF_INSTR_LABEL(instr);
5857 pc = DIF_INSTR_LABEL(instr);
5861 pc = DIF_INSTR_LABEL(instr);
5956 pc = textlen;
9161 dtrace_difo_err(uint_t pc, const char *format, ...)
9166 (void) uprintf("dtrace DIF object error: [%u]: ", pc);
9194 int (*efunc)(uint_t pc, const char *, ...) = dtrace_difo_err;
9196 uint_t pc;
9204 for (pc = 0; pc < dp->dtdo_len && err == 0; pc++) {
9205 dif_instr_t instr = dp->dtdo_buf[pc];
9233 err += efunc(pc, "invalid register %u\n", r1);
9235 err += efunc(pc, "invalid register %u\n", r2);
9237 err += efunc(pc, "invalid register %u\n", rd);
9239 err += efunc(pc, "cannot write to %r0\n");
9245 err += efunc(pc, "invalid register %u\n", r1);
9247 err += efunc(pc, "non-zero reserved bits\n");
9249 err += efunc(pc, "invalid register %u\n", rd);
9251 err += efunc(pc, "cannot write to %r0\n");
9261 err += efunc(pc, "invalid register %u\n", r1);
9263 err += efunc(pc, "non-zero reserved bits\n");
9265 err += efunc(pc, "invalid register %u\n", rd);
9267 err += efunc(pc, "cannot write to %r0\n");
9269 dp->dtdo_buf[pc] = DIF_INSTR_LOAD(op +
9280 err += efunc(pc, "invalid register %u\n", r1);
9282 err += efunc(pc, "non-zero reserved bits\n");
9284 err += efunc(pc, "invalid register %u\n", rd);
9286 err += efunc(pc, "cannot write to %r0\n");
9296 err += efunc(pc, "invalid register %u\n", r1);
9298 err += efunc(pc, "non-zero reserved bits\n");
9300 err += efunc(pc, "invalid register %u\n", rd);
9302 err += efunc(pc, "cannot write to %r0\n");
9309 err += efunc(pc, "invalid register %u\n", r1);
9311 err += efunc(pc, "non-zero reserved bits\n");
9313 err += efunc(pc, "invalid register %u\n", rd);
9315 err += efunc(pc, "cannot write to 0 address\n");
9320 err += efunc(pc, "invalid register %u\n", r1);
9322 err += efunc(pc, "invalid register %u\n", r2);
9324 err += efunc(pc, "non-zero reserved bits\n");
9328 err += efunc(pc, "invalid register %u\n", r1);
9330 err += efunc(pc, "non-zero reserved bits\n");
9344 err += efunc(pc, "invalid branch target %u\n",
9347 if (label <= pc) {
9348 err += efunc(pc, "backward branch to %u\n",
9354 err += efunc(pc, "non-zero reserved bits\n");
9356 err += efunc(pc, "invalid register %u\n", rd);
9362 err += efunc(pc, "non-zero reserved bits\n");
9366 err += efunc(pc, "invalid integer ref %u\n",
9370 err += efunc(pc, "invalid register %u\n", rd);
9372 err += efunc(pc, "cannot write to %r0\n");
9376 err += efunc(pc, "invalid string ref %u\n",
9380 err += efunc(pc, "invalid register %u\n", rd);
9382 err += efunc(pc, "cannot write to %r0\n");
9387 err += efunc(pc, "invalid array %u\n", r1);
9389 err += efunc(pc, "invalid register %u\n", r2);
9391 err += efunc(pc, "invalid register %u\n", rd);
9393 err += efunc(pc, "cannot write to %r0\n");
9401 err += efunc(pc, "invalid variable %u\n", v);
9403 err += efunc(pc, "invalid register %u\n", rd);
9405 err += efunc(pc, "cannot write to %r0\n");
9413 err += efunc(pc, "invalid variable %u\n", v);
9415 err += efunc(pc, "invalid register %u\n", rd);
9419 err += efunc(pc, "invalid subr %u\n", subr);
9421 err += efunc(pc, "invalid register %u\n", rd);
9423 err += efunc(pc, "cannot write to %r0\n");
9446 err += efunc(pc, "invalid ref type %u\n", type);
9448 err += efunc(pc, "invalid register %u\n", r2);
9450 err += efunc(pc, "invalid register %u\n", rs);
9454 err += efunc(pc, "invalid val type %u\n", type);
9456 err += efunc(pc, "invalid register %u\n", r2);
9458 err += efunc(pc, "invalid register %u\n", rs);
9461 err += efunc(pc, "invalid opcode %u\n",
9599 for (pc = 0; pc < dp->dtdo_len && err == 0; pc++) {
9600 dif_instr_t instr = dp->dtdo_buf[pc];
9611 err += efunc(pc, "invalid variable %u\n", v);
9618 err += efunc(pc, "invalid variable %u\n", v);
9623 err += efunc(pc, "invalid variable %u\n", v);
9648 int (*efunc)(uint_t pc, const char *, ...) = dtrace_difo_err;
9650 uint_t pc;
9652 for (pc = 0; pc < dp->dtdo_len; pc++) {
9653 dif_instr_t instr = dp->dtdo_buf[pc];
9736 err += efunc(pc, "illegal variable %u\n", v);
9743 err += efunc(pc, "illegal dynamic variable load\n");
9749 err += efunc(pc, "illegal dynamic variable store\n");
9778 err += efunc(pc, "invalid subr %u\n", subr);
9782 err += efunc(pc, "invalid opcode %u\n",
9877 uint_t pc, srd = 0;
9882 for (pc = 0; pc < dp->dtdo_len; pc++) {
9883 dif_instr_t instr = text[pc];