On 22/03/2012 00:15, Marvin Humphrey wrote:
The hypothesis is:* The sum is being accumulated into a register that is larger than 32 bits. * An extra op is necessary to determine that 32-bit overflow has occurred. * This op has been inappriately optimized away by the compiler.
Or something with sign extension goes wrong. I can't test this on OS X myself, but I'd love to have a look at the compiled assembler code. Can you post it to the list?
Nick
