From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21621 invoked by alias); 21 Aug 2005 11:07:38 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 21282 invoked by uid 22791); 21 Aug 2005 11:07:33 -0000 Received: from mail.s.netic.de (HELO mail.s.netic.de) (212.9.160.11) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 21 Aug 2005 11:07:33 +0000 Received: from host-213-178-187-11.dsl.netic.de ([213.178.187.11] helo=schleim.qwe.de) by mail.s.netic.de with esmtp (Exim 4.51) id 1E6nfm-0005uZ-Qh for gcc@gcc.gnu.org; Sun, 21 Aug 2005 13:07:30 +0200 Received: from localhost (localhost [IPv6:::1]) by schleim.qwe.de (Postfix) with ESMTP id 69E773AFAF for ; Sun, 21 Aug 2005 13:12:43 +0200 (CEST) From: Torsten Mohr To: gcc@gcc.gnu.org Subject: V850 ABI? Date: Sun, 21 Aug 2005 11:07:00 -0000 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200508211312.43162.tmohr@s.netic.de> X-SW-Source: 2005-08/txt/msg00562.txt.bz2 Hi, from gcc-3.4.4/gcc/config/v850/v850.h i got some ideas about the registers (#defs REGISTER_NAMES and ADDITIONAL_REGISTER_NAMES) and about the use of them from the comments to #def REG_ALLOC_ORDER. In that file i've also read about an option "ghs", does that one switch to the Greenhills ABI? =46rom that file i can't really conclude everything. For example i don't know if registers 20 and 21 hold the values 255 and 65535 (an optimisation on V850). The startup code in newlib assigns them, but does gcc really rely on that and uses that (this question is just an example)? Is there a description of the ABI or the ABIs available? Best regards, Torsten.