LLVM talks 1: Clang for Chromium
Walter Bright
newshound2 at digitalmars.com
Sat Dec 17 02:17:53 PST 2011
On 12/17/2011 2:04 AM, Kagamin wrote:
>> The back end will evaluate them in different orders, as it is more efficient
>> to evaluate varargs functions from right-to-left, and others from
>> left-to-right. It's not an insurmountable problem, it just needs to be worked on.
>
> Are you taking about push vs mov?
Yes.
> By default gcc preallocates space for
> arguments, evaluates them from left to right and `mov`es them to the stack.
> `push`es take more cycles, `mov`s take more space. Which of them is more efficient?
Depends on the processor.
More information about the Digitalmars-d
mailing list