Integer overflow checking

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 13 21:52:12 PDT 2016


On 4/13/2016 8:00 PM, deadalnix wrote:
> Also, just checked, on sandy bridge, the LEA has 3clock latency (but start
> earlier in the pipeline) and the add 1, so it is not as bad as it looks (it is
> still bad).

The size is larger, too (not so cache friendly). Integer arithmetic is sort of 
the bread and butter of computer programs, how much slowdown will people accept?


More information about the Digitalmars-d mailing list