| ▲ | tliltocatl 10 hours ago | ||||||||||||||||||||||||||||||||||||||||||||||
It might be because XOR is rarely (in terms of static count, dynamically it surely appears a lot in some hot loops) used for anything else, so it is easier to spot and identify as "special" if you are writing manual assembly. | |||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | bonzini 2 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
Indeed this is the best explanation! | |||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | stingraycharles 10 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
And helps with SMT Edit: this is apparently not the case, see @tliltocatl's comment down the thread | |||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | kunley 10 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||
XOR appears a lot in any code touching encryption. PS. What is static vs dynamic count? | |||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||