home *** CD-ROM | disk | FTP | other *** search
-
-
- Comments on Porting
- Benchmarks
- by GTE Sylvania Systems
- to DEC Ada
-
- Tool 10_2
- August 22, 1985
-
- COMPILATION
- -----------
- A VMS command file was created for the Ada benchmarks from the
- ordered list of compilation units provided in the file WHETADA.COM
- and the users manual, page 4. Command files were not required
- to compile the "C", Fortran or Pascal benchmarks.
-
- We were able to recompile the Ada BENCHMARKS without changing
- any of the code. The Fortran, Pascal and "C" benchmark files
- required the removal of Ada comment indicators ("--") from the
- code in order for these files to successfully compile.
- The files WHETADAA.ADA, WHETADAB.ADA, WHETADAC.ADA, WHETADAD.ADA
- and DHRYADAA.ADA were compiled to test the Ada compiler; the files
- WHETPASA, WHETPASB, WHETPASC and WHETPASD were compiled to test
- the Pascal compiler; the files WHETFORA, WHETFORB, WHETFORC and
- WHETFORD were compiled to test the Fortran 77 compiler; and the
- files WHETCA.C and WHETCB.C were compiled to test the "C" compiler.
-
-
- EXECUTION
- ---------
- We were able to execute the series of WHETADA, WHETFOR, and WHETPAS
- benchmark programs and each appeared to be in working condition.
- The series of WHETADA, WHETFOR and WHETPAS benchmarks measures
- processor speed. In order to compare the processor with/without
- a math library and with/without a full set of checks, four modules
- were created. These modules are labeled A, B, C and D. The modules
- are defined as follows:
-
- A stubbed math library, no checks
- B stubbed math library, full checks
- C full math library, no checks
- D full math library, full checks
-
- To use the Ada WHETSTONE benchmark, a file named "ENVIRON.INF" must be
- created which contains information such as machine type, operating
- system, physical memory and name of the compiler being tested. The
- users manual provides a good example of the format of the ENVIRON.INF
- file. Output from the Ada WHETSTONE benchmark is placed into a file
- named "Wnnddhhmm.DAT". This data file was complete when viewed after
- the benchmark tests.
-
- The second benchmark, the Ada DHRYSTONE benchmark, also executed without
- difficulty. The Ada DHRYSTONE benchmark measures statement execution
- per unit time. Output from DHRYSTONE is similiar to the WHETSTONE
- benchmark.
-
- The Pascal and Fortran series is available only in the WHETSTONE
- version. Both of these benchmark series executed without difficulty.
-
- The "C" benchmark programs, WHETCA.C and WHETCB.C would not link.
- When the VAX linker was invoked against these programs, the linker
- found seven "undefined symbols" in the "C" program WHETCA.C and
- the same seven "undefined symbols" in program WHETCB.C. These symbols
- were: C$MAIN, CREAT, FCLOSE, FDOPEN, FPRINTF, FTIME and PRINTF. The
- problems with linking the "C" programs appears to be with library calls
- from the programs.
-
-