Displaying 1 result from an estimated 1 matches for "atomtab_d".
2016 Sep 10
0
[PATCH] gm107: separate out sched decoding from regular ops
...tomsnum) {
diff --git a/envydis/core-dis.c b/envydis/core-dis.c
index 9d9ca5b..f4af5f2 100644
--- a/envydis/core-dis.c
+++ b/envydis/core-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 =...