I think this is not a question of what kind of representation the compiler uses, but rather what the underlying machine uses. The compiler would be very stupid to choose a view that is not supported by the target machine, as this would lead to an overhead load without any advantages.
Some fields of the checksum in the set of IP protocols use one addition, therefore, it is possible that a dedicated "network accelerator" -type CPU: s implements it.
source
share