Deutsch   English   Français   Italiano  
<vmbbs4$3v6su$2@paganini.bofh.team>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: antispam@fricas.org (Waldek Hebisch)
Newsgroups: comp.arch
Subject: Re: Calling conventions (particularly 32-bit ARM)
Date: Thu, 16 Jan 2025 16:24:38 -0000 (UTC)
Organization: To protect and to server
Message-ID: <vmbbs4$3v6su$2@paganini.bofh.team>
References: <vlgngv$1ks4a$1@dont-email.me> <4903307dfcce354508c9fc016a4c1ea1@www.novabbs.org> <vli2gu$1aftg$1@paganini.bofh.team> <vm17ka$1d58r$1@dont-email.me> <vm1pp4$31m2n$1@paganini.bofh.team> <vm67ic$2fnmd$1@dont-email.me> <vm69pj$2h7bt$1@dont-email.me> <20250114234819.000012ac@yahoo.com> <c7d39917db81f33fd90a8b57e7d0f85d@www.novabbs.org> <vm9ssi$3so92$1@paganini.bofh.team> <9ee003d6b85267ba8ae18aa96618278b@www.novabbs.org>
Injection-Date: Thu, 16 Jan 2025 16:24:38 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="4168606"; posting-host="WwiNTD3IIceGeoS5hCc4+A.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.3
Bytes: 2092
Lines: 24

MitchAlsup1 <mitchalsup@aol.com> wrote:
> 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.

No copy only if there is single set of arguments.  If there are
different arguments, then one needs to pass them, that is copy
them.

-- 
                              Waldek Hebisch