Sujet : Re: Calling conventions (particularly 32-bit ARM)
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.archDate : 16. Jan 2025, 16:08:37
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <9ee003d6b85267ba8ae18aa96618278b@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Rocksolid Light
On Thu, 16 Jan 2025 3:02:44 +0000, Waldek Hebisch wrote:
MitchAlsup1 <mitchalsup@aol.com> wrote:
>
>
Pass by COMMON block was even faster.
>
I do not think so. I LAPACK-like cases there are array arguments.
Normal calling convention needs to store and later read parameters
and pass addresses. COMMON would force copying of entire arrays,
much less efficienct than handling parameters.
SUBROUTINE FOO
COMMON /ALPHA/ i,j,k,a[100],b[100],c[100,100]
See no arguments, passed directly by common-block, no copying of
data, no dope vectors needed.