comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Specific Machine Instructions in GNAT
Date: 1996/08/06
Date: 1996-08-06T00:00:00+00:00	[thread overview]
Message-ID: <dewar.839330627@schonberg> (raw)
In-Reply-To: 4u5r7n$3iji@news-s01.ny.us.ibm.net


Anthony says

"In "Ada as a Second Language", by Norman H. Cohen, section 19.7.3,
a mechanism is described for generating short sequences of specific
machine instructions. I can't seem to find this capability in GNAT.
Does GNAT have such a capability? If not, are there plans to add this
capability later?"


GNAT does not have this capability, but it will be added in the very near
future, we just did most of the work for this feature, and it may make
it into the next release, or otherwise in the one immediately after.

We will allow both machine instruction instrinsic subprograms, and code
statements. Both symbolic and absolute register names can be used, as
well as class designators for classes of registers. Full integration
with references to Ada expressions and variables is provided. The
resulting routines mey be inlined.

The feature is modeled on what is available in GNU C, see he GNU C manual
for full details.





      reply	other threads:[~1996-08-06  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-05  0:00 Specific Machine Instructions in GNAT busigin
1996-08-06  0:00 ` Robert Dewar [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