comp.lang.ada
 help / color / mirror / Atom feed
From: seas.gwu.edu!mfeldman@uunet.uu.net  (Michael Feldman)
Subject: unusual storage representations - looking for info
Date: 23 Jun 93 23:40:34 GMT	[thread overview]
Message-ID: <1993Jun23.234034.18426@seas.gwu.edu> (raw)

Perhaps some of you out there can help me out. As we know, the LRM
does not "second-guess" storage representations, in the main. Integer
ranges, Float precisions, array mappings, etc., are all implementation
defined.

I'm looking for examples of Ada compilers and targets that use unusual 
storage mappings. Specifically:

1. are there any compilers for which the predefined numeric types do _not_
occupy multiple-of-8 storage? For example, the CDC Cybers have a 60-bit
word. Does predefined Integer use the full range of the 60 bits? Also,
as I recall, the old Honeywell architecture used a 36-bit word. So
what is the range of Integer on these? Which other targets don't use 
multiple-of-8-bit predefined ranges?

2. are there any compilers in which multidimensional arrays are _not_
stored in row-major form? Clearly column-major is not only legal but might
be useful in a compiler optimized for pragma-interfacing to Fortran.
Wilder still, it is certainly not gospel that an array even has to be
stored contiguously.

Anything else worthy of note or unusual?

Please reply by e-mail; I'll post a summary if I get good stuff.

Thanks!

Mike Feldman
------------------------------------------------------------------------
Michael B. Feldman -  co-chair, SIGAda Education Committee
Professor, Dept. of Electrical Engineering and Computer Science
The George Washington University -  Washington, DC 20052 USA
202-994-5253 (voice) - 202-994-5296 (fax) - mfeldman@seas.gwu.edu (Internet)
"Pork is what those other guys get from the Government."
------------------------------------------------------------------------

                 reply	other threads:[~1993-06-23 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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