From mint-bounce@lists.fishpool.fi Thu Oct 30 07:10:52 2008 MIME-Version: 1.0 X-Mailer: Gandi Mail Message-ID: <8665.1225363300@frosties.org> To: "mint" Reply-To: Thomas Reiss Content-Type: text/plain; charset="utf-8" X-Origin: 212.234.218.194 Date: Thu, 30 Oct 2008 11:41:40 +0100 Subject: Re: [MiNT] arguments in registers instead of stack in gcc From: Thomas Reiss X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: frosties@frosties.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id m9UBAoji009671 Hi, I think there are some code inside GCC to modify to get that done. Fortunately, the TIGCC development team did some work on it, but can't remember how I come on this. You can find the project here: http://tigcc.ticalc.org/ Cheers, Thomas Le jeu 30/10/08 09:22, "Miro Kropacek" miro.kropacek@gmail.com a écrit: > Hi, > > is there any way how to force gcc to pass arguments to assembler > function in some specified registers instead of stack? Some compilers > allow something like "func(register __a0 int* pointer)" declarations. > > -- > MiKRO / Mystic Bytes > http://mikro.atari.org [1] > > > Links: > ------ > [1] http://mikro.atari.org > >