On 24.11.2016 09:55, Kagamin wrote:
On Wednesday, 23 November 2016 at 21:18:27 UTC, Andrei Alexandrescu wrote:[Details needed]I just took a look https://godbolt.org/g/EMy6X4, it's happening.That's three instructions instead of one shr eax,1
That would be wrong code. Cast to int after dividing.