"Marco Bodrato" <bodr...@mail.dm.unipi.it> writes: Not bad, is it?
Not at all bad! Must we use masks to obtain branchless code? Or should we let the compiler choose? My experience is that the compiler cannot be trusted in this area; it may or may not use cmov and its reasons for doing it either way are subtle. Therefore, using masking is the safest option. One may then proceed to asm code. -- Torbjörn Please encrypt, key id 0xC8601622 _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel