comp.lang.ada
 help / color / mirror / Atom feed
From: anders@legolas.gidenstam.org (Anders Gidenstam)
Subject: Re: GNAT on SPARC
Date: Sun, 7 Jul 2002 11:08:56 +0200
Date: 2002-07-07T09:11:23+00:00	[thread overview]
Message-ID: <8f09ga.al1.ln@legolas> (raw)
In-Reply-To: 5ee5b646.0207061030.453d5d7a@posting.google.com

In article <5ee5b646.0207061030.453d5d7a@posting.google.com>,
	dewar@gnat.com (Robert Dewar) writes:
> anders@legolas.gidenstam.org (Anders Gidenstam) wrote in message news:<g2j6ga.262.ln@legolas>...
> 
>> 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  |
---------------------------------------------------------------------




      reply	other threads:[~2002-07-07  9:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-05  9:27 GNAT on SPARC Arne Carlsson
2002-07-06 11:08 ` Anders Gidenstam
2002-07-06 18:30   ` Robert Dewar
2002-07-07  9:08     ` Anders Gidenstam [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox