By: EduardoS (no.delete@this.spam.com), April 22, 2015 6:59 pm
Room: Moderated Discussions
RichardC (tich.delete@this.pobox.com) on April 22, 2015 6:23 am wrote:
> So the particular issue with this kind of belt-addressing is that you can't address
> an intermediate value on the belt without knowing the execution path history, e.g.
> to take an oversimplified example
>
> int sum = 0;
> register int x;
> register bool seen99;
> ....
> if (x == 99) seen99 = true;
> sum += x;
Isn't this supposed to be solved by predication?
seen99 |= x == 99;
> So the particular issue with this kind of belt-addressing is that you can't address
> an intermediate value on the belt without knowing the execution path history, e.g.
> to take an oversimplified example
>
> int sum = 0;
> register int x;
> register bool seen99;
> ....
> if (x == 99) seen99 = true;
> sum += x;
Isn't this supposed to be solved by predication?
seen99 |= x == 99;