From mint-bounce@lists.fishpool.fi Thu Oct 30 05:17:32 2008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=2wZdazN7biUjJUGLdU0Nb0mvabfacNp/S0MMYfKyHTM=; b=xWEEv7vvprp8iR4y0kzA8uGYVBLLb4DtF6Rt26PnwvJZON5kOzan3C0crgV2nBCTcz RJXN1r/4UFe5T69++s0CtLI78KPxc3m8Z5p8YMBgf0d/L25oKD65FLLKRcHldAmIRwbB 6cKbhB6EXrl5y5OMwWFPrdJzKLCUsHBNz9gak= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=KIYVhO5Qs1YwdrrbSoifIAC+JNt5/dXJjD4ARq+N1Oh/K+0zv4zF7PwU/1/ebBABfC bdqfNkG9ZbGUzTsIBKQAc0Ysft4Ot3WMzfNkJF/m93S96nfPdFr71q7W8W8fJz8hlZtM PpfJjiI5UyRJtCQA8ohjVMgGiy37JfYKq/Dbk= Message-ID: Date: Thu, 30 Oct 2008 09:22:08 +0100 From: "Miro Kropacek" To: mint Subject: [MiNT] arguments in registers instead of stack in gcc MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5623_33218581.1225354928524" X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: miro.kropacek@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: ------=_Part_5623_33218581.1225354928524 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_5623_33218581.1225354928524 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_5623_33218581.1225354928524--