Align a variable on the stack.

rsw0x via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 5 17:23:37 PST 2015


On Friday, 6 November 2015 at 01:17:20 UTC, TheFlyingFiddle wrote:
> On Friday, 6 November 2015 at 00:43:49 UTC, rsw0x wrote:
>> On Thursday, 5 November 2015 at 23:37:45 UTC, TheFlyingFiddle 
>> wrote:
>>> On Thursday, 5 November 2015 at 21:24:03 UTC, TheFlyingFiddle 
>>> wrote:
>>>> [...]
>>>
>>> I reduced it further:
>>>
>>> [...]
>>
>> these run at the exact same speed for me and produce identical 
>> assembly output from a quick glance
>> dmd 2.069, -O -release -inline
>
> Are you running on windows?
>
> I tested on windows x64 and there I also get the exact same 
> speed for both functions.

linux x86-64


More information about the Digitalmars-d-learn mailing list