[<<][meta][>>][..]
Wed Feb 20 13:02:29 CET 2013

State buffer swapping

One annoying thing is that state input/output bindings are fixed in
the intermediate representation, but need to be ping-ponged in C.

Ok, wasn't too hard..


    for (int t = 0; t < t_endx; t ++) {
        struct proc_si * restrict si = (struct proc_si *)(&state[(t^0)&1]);
        struct proc_so * restrict so = (struct proc_so *)(&state[(t^1)&1]);
        ...
    }



[Reply][About]
[<<][meta][>>][..]