Displaying 1 result from an estimated 1 matches for "schedpos".
Did you mean:
sched_op
2016 Sep 10
0
[PATCH] gm107: separate out sched decoding from regular ops
...re-dis.c
@@ -489,7 +489,10 @@ struct dis_res *do_dis(struct decoctx *deco, uint32_t cur) {
}
ctx->isa = deco->isa;
ctx->varinfo = deco->varinfo;
- atomtab_d (ctx, res->a, res->m, deco->isa->troot);
+ if (deco->isa->tsched && (cur*stride % deco->isa->schedpos) == 0)
+ atomtab_d (ctx, res->a, res->m, deco->isa->tsched);
+ else
+ atomtab_d (ctx, res->a, res->m, deco->isa->troot);
res->oplen = ctx->oplen;
if (res->oplen + cur > deco->codesz)
res->status |= DIS_STATUS_EOF;
diff --git a/envydis/gm107.c b/env...