Manu:Isn't something like this better?
If you want to do component-wise logic,
the typical approach is to use component-wise selection, eg:
uint4 mask = compareGreater(a, b); // <- build a bit mask of 0's (false)
uint4 mask = a > b;
Bye,
bearophile