comp.lang.ada
 help / color / mirror / Atom feed
* Specific Machine Instructions in GNAT
@ 1996-08-05  0:00 busigin
  1996-08-06  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: busigin @ 1996-08-05  0:00 UTC (permalink / raw)



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?

Anthony Busigin
NITEK Corporation




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Specific Machine Instructions in GNAT
  1996-08-05  0:00 Specific Machine Instructions in GNAT busigin
@ 1996-08-06  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-08-06  0:00 UTC (permalink / raw)



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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-08-06  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-05  0:00 Specific Machine Instructions in GNAT busigin
1996-08-06  0:00 ` Robert Dewar

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