If you look at this answer, the author manages to create a compact comparison algorithm for 2 integer bignums, stored in 2 SSE registers. I am not following it too well :)
What I did so far:
if l = a < b = {a[i] < b[i] ? ~0 : 0}
and
e = a == b = {a[i] == b[i] ? ~0 : 0}
then a < b == l[3] v e[3]l[2] v e[3]e[2]l[1] v e[3]e[2]e[1]l[0]
But this does not seem to be what the author is doing. What am I missing? What need is there for a greater than comparison?