Mir Random [WIP]

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 24 01:23:12 PST 2016


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.


More information about the Digitalmars-d mailing list