C++ Logo


Advanced search

Subject: Re: [std-proposals] Proposal for gotoReturn/goReturn/InlineOnce - Increase code density with out function calling overhead
From: Thiago Macieira (thiago_at_[hidden])
Date: 2021-02-05 21:27:45

On Friday, 5 February 2021 05:53:44 PST Wesley Oliver via Std-Proposals wrote:
> The other think that I feel go give a lot more room for improv code speed
> execution would be gotoReturn, where basically just like a normal function
> call, however, return address is placed on the stack and non of the
> parameters, which would allow for the same speed improvements as inline and
> optimizing as if there was no function boundaries for register and
> parameter usage.

Parameter passing in registers is already the case in all modern platforms and
has been for 15 years.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups