23 Apr
2010
23 Apr
'10
2:14 p.m.
Hello!
But you can't get rid of: z + (z < sum) which is the real bottleneck. Perhaps this doesn't cost much on high end CPUs but it sure does on embedded CPUs
Why should it be? It can be compiled as a sequence of "add with carry" instructions, can't it?
Yes, but have you seen gcc do that? I havn't, perhaps gcc has become smarter recently? Jocke