Deutsch English Français Italiano |
<vm7a73$qm2$1@gal.iecc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine <johnl@taugh.com> Newsgroups: comp.arch Subject: Re: Calling conventions (particularly 32-bit ARM) Date: Wed, 15 Jan 2025 03:31:47 -0000 (UTC) Organization: Taughannock Networks Message-ID: <vm7a73$qm2$1@gal.iecc.com> References: <vlgngv$1ks4a$1@dont-email.me> <vm69pj$2h7bt$1@dont-email.me> <20250114234819.000012ac@yahoo.com> <c7d39917db81f33fd90a8b57e7d0f85d@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 15 Jan 2025 03:31:47 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="27330"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <vlgngv$1ks4a$1@dont-email.me> <vm69pj$2h7bt$1@dont-email.me> <20250114234819.000012ac@yahoo.com> <c7d39917db81f33fd90a8b57e7d0f85d@www.novabbs.org> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine) Bytes: 1869 Lines: 17 According to MitchAlsup1 <mitchalsup@aol.com>: >> I would think that for Fortran (==everything passed by reference) >> memory would beat registers most of the time. > >Pass by COMMON block was even faster. Sometimes. On machines that don't have direct addressing, such as S/360, the code needs to load a pointer to the data either way so it's a wash. Even when you do have direct addressing, if code is compiled to be position indepedent, the common block wouldn't be in the same module as the code that references it so it still needs to load a pointer from the GOT or whatever its equivalent is. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly