One minute to twelve: last chance to fix D2 ABI?
Robert Jacques
sandford at jhu.edu
Thu Mar 4 06:33:18 PST 2010
On Thu, 04 Mar 2010 05:00:46 -0500, Lionello Lunesu
<lio at lunesu.remove.com> wrote:
> On 3-3-2010 23:51, Robert Jacques wrote:
>> At the cost of forcing every single member function call to do an
>> additional stack push? DMD doesn't pass args in ECX and EDX for a
>> reason. Adapting free functions to delegates is a rare enough operation
>> that making everything else slower to save one function call isn't worth
>> it.
>
> That's a great point. I hadn't thought about it. Thanks.
>
> L.
No problem. I'd never have thought about it and think it through without
you raising your point. The really odd thing is that 2-word structs are
returned in register, but not sent in registers. Maybe this will change in
x86.
More information about the Digitalmars-d
mailing list