If checking some kind of return value, isn't the first one faster since some flag will be set already so you don't have to do an extra comparison?
Name:
Anonymous2011-07-13 14:17
>>2
Isn't the flag already set when the value is assigned to the register? I guess it must be assumed that nothing else overwrites the flag, could the x86 ABIs have some sort of guarantee for this?