home *** CD-ROM | disk | FTP | other *** search
- From CONTR16@NOSC-TECR Thu Jun 13 13:18:55 1985
- Received: from NOSC-TECR.ARPA (nosc-tecr.arpa.ARPA) by mitre.ARPA (4.12/4.7)
- id AA17038; Thu, 13 Jun 85 13:18:37 edt
- Message-Id: <8506131718.AA17038@mitre.ARPA>
- Date: 13 Jun 1985 1001-PST
- From: Contr16 <CONTR16@NOSC-TECR>
- Subject: Action Items for the Machine Arithmetic Emulation
- To: COURT@MITRE
- Reply-To: CONTR16 at NOSC-TECR
- Status: R
-
-
-
-
- The following Action Items were taken by SYSCON Corporation at
- the Product Delivery Review for the Emulation of Machine Arithmetic
- (EMA) project. Each Action Item is presented and followed by SYSCON's
- proposed response:
-
-
- 1) Include Guidelines for the parameterization of the EMA
- facilities. This should include how to modify and/or extend
- the program to emulate, for example, 72-bit Integers.
- Comment on the ability to emulate 8 bit arithmetic, and the
- minimum bit size required to support the emulation.
-
- RESPONSE : The existing guidelines will be reviewed and
- modified as necessary to comply.
-
-
- 2) Insure that the documents use consistent nomenclature with
- respect to host and target word sizes, etc.
-
- RESPONSE : The documents and code will be reviewed and revised
- as necessary to use a consistent nomenclature. 'Host' will
- refer to the executing environment (e.g., VAX with TeleSoft
- compiler) and 'Target' will refer to the emulation environment
- (e.g., Honeywell 36 bit processor).
-
-
- 3) Describe the testing of other host/target word sizes.
-
- RESPONSE : The section on testing will clarify what has been
- tested.
-
-
- 4) Describe in greater detail how the evaluation results in
- Table 3-2 and 3-3 were obtained. Specifically, discuss how
- representative the test cases are, and how the counting of the
- work was performed (especially for components whose values are
- zero).
-
- RESPONSE : The section on the evaluation of candidate
- algorithms will be revised to make clearer what was done.
-
-
- 5) Replace the direct references to 36 and 72 bits with
- general terms such as target_integer, target_short_float, etc.
- Change the naming convention for packages to avoid use of
- abbreviations (EMA,MAE), and expand into Emulation of Machine
- Arithmetic.
-
- RESPONSE : The references will be changed. The changing of
- the naming convention will be considered (the current
- convention is employed because of compiler/library limitations
- on the number of significant characters in a name).
-
-
- 6) Incorporate the ability to let rounding/truncation be a
- user controllable compile time parameter. Place the rounding
- table in the code by either inserting it directly as a
- comment, or by representing it in the Ada code (e.g., as a
- nested case statement).
-
- RESPONSE : The option will be added, and the code updated in
- the most appropriate fashion.
-
-
- 7) Change the IO routines to be compatible with Ada (Convert
- the 'D' to 'E', provide for leading digits, etc.). Provide Gets
- and Puts with FORE and AFT fields.
-
- RESPONSE : The IO routines will be made compatible with Ada.
- Gets and Puts will be provided if they can be implemented
- quickly.
-
-
- 8) Supply the standard Ada attributes for Integer and Floating
- Point types ('FIRST, 'LAST, 'MACHINE_ROUNDS, etc. ).
-
- RESPONSE : The adding of the attributes will be studied, and
- those which can be easily added will be. Note: There are some
- incompabilities between the model number approach of Ada, and
- the direct access to bit level architecture of the emulation.
-
-
- 9) Export the normal (Ada predefined) exception SYSTEM.NUMERIC_ERROR.
-
- RESPONSE : This will be accomplished by having the exception
- MAE_NUMERIC_ERROR rename the System exception. Programs using
- the emulation packages will be able to trap all exceptions
- with the statement "when NUMERIC_ERROR =>". If a program
- needs to distinguish between emulation and system
- NUMERIC_ERRORs, then the exception MAE_NUMERIC_ERROR can be
- changed to a declaration (instead of a renames).
-
- ------
-
-