From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,28601b68b0271562 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-07 02:11:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-nue1.dfn.de!uni-erlangen.de!newsfeed1.telenordia.se!algonet!newsfeed.sunet.se!news01.sunet.se!news.chalmers.se!legolas!nobody From: anders@legolas.gidenstam.org (Anders Gidenstam) Newsgroups: comp.lang.ada Subject: Re: GNAT on SPARC Date: Sun, 7 Jul 2002 11:08:56 +0200 Organization: Chalmers University of Technology Message-ID: <8f09ga.al1.ln@legolas> References: <3D256669.71819371@space.se> <5ee5b646.0207061030.453d5d7a@posting.google.com> NNTP-Posting-Host: hotlips.cs.chalmers.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: nyheter.chalmers.se 1026033083 5117 129.16.225.36 (7 Jul 2002 09:11:23 GMT) X-Complaints-To: abuse@chalmers.se NNTP-Posting-Date: 7 Jul 2002 09:11:23 GMT X-Newsreader: knews 1.0b.1 Repy-To: anders@gidenstam.org (Anders Gidenstam) Xref: archiver1.google.com comp.lang.ada:26920 Date: 2002-07-07T09:11:23+00:00 List-Id: In article <5ee5b646.0207061030.453d5d7a@posting.google.com>, dewar@gnat.com (Robert Dewar) writes: > anders@legolas.gidenstam.org (Anders Gidenstam) wrote in message news:... > >> Read the GNAT inline assembler tutorial at adapower.com, >> http://www.adapower.com/articles/gnatasm/ and the GNAT reference >> manual. >> The tutorial targets x86 but the inline mechanisms are the same, in >> particular look at the 'Clobber' argument to Asm. > > All this is fine, but has nothing whatsoever to do with the original > query, which was about reserved registers on the SPARC! Well, I thought he wanted to know how to tell the code generator which registers his assembler code affects and in that case the Clobber argument seems to be appropriate. Btw. what do you mean by reserved? Reserved as in 'only accessible in privileged mode' or reserved as in 'GNAT/GCC generated code uses them'? /Anders -- The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it. -- (Terry Pratchett, Diggers) --------------------------------------------------------------------- | Anders Gidenstam | Chalmers University of Technology | | Email: andersg@cs.chalmers.se | WWW: www.cs.chalmers.se/~andersg | ---------------------------------------------------------------------