Re:Fortran H and PL.8: Papers about Great Optimizing Compile...
by pfdietz on Sunday January 22, 2023 @12:20PM
(#34479677)
I wonder how they tested these compilers.
[ Parent
| on HN ]
Re:Fortran H and PL.8: Papers about Great Optimizing Compile...
by pjmlp on Sunday January 22, 2023 @03:11PM
(#34481722)
On PL.8 case by creating an OS for RISC research at IBM, before they decided to reboot the effort as Aix, by joining the newly UNIX workstation market.
Re:Fortran H and PL.8: Papers about Great Optimizing Compile...
by pfdietz on Sunday January 22, 2023 @04:42PM
(#34482535)
"Our basic procedure is
to compile and execute a test bucket of 150 self
checking programs every night. The test run produces
code which is executed on all computers and at various
levels of optimization. [...] In addition, the PL.8 effort has lead to a
powerful compiler testing strategy. The PL.8 compiler
is written in PL.8 and compiles itself. Periodically a
"fixed point" is compiled. The current source is
completely reeompiled using a compiler whose
operation is believed to correspond to that source.
The object and listing output of this compilation is
saved and also used to build a new compiler. This
new compiler is then used to compile the same source
again. A bit for bit comparison of the object and
listing files from both compiles is then made (ignoring
dates, times, and other system noise)."
That seems like a really small test suite for a compiler. I guess it was just much smaller than today's compilers.