On Monday, 23 July 2012 12:52:50 UTC+10, John W Kennedy wrote:
> On 2012-07-22 00:53:59 +0000,
rrrrrr...@gmail.com said:
>
> > On Sunday, 22 July 2012 04:53:34 UTC+10, John W Kennedy wrote:
> >> > On Saturday, 21 July 2012 01:27:33 UTC+10, John W Kennedy wrote:
> >> >> On 2012-07-20 09:07:18 +0000,
rrrr...@gmail.com said:
> >> >>
> >> >> > On Friday, 20 July 2012 16:23:34 UTC+10, glen
> >> herrmannsfeldt wrote:
> >> >> >> John Levine
> >> &
amp;amp;amp;lt;jjjj...@iecc.com> wrote:
> >> >> >>
> >> >> >>>> Model 40/44 and 50 timings
> >> were somewhat better.
> >> >> >>
> >> >> >>> The model 44 is hard to compare since
> >> it didn't have
> >> >> MVC, a loop like
> >> >> >>> L, ST, LA, BCT is about 8us per word
> >> or 200us to move 100 bytes
> >> >> >>> assuming they were word aligned,
> >> probably twice that if
> >> >> they weren't.
> >> >> >>> For the /65, an unaligned 100 byte
> >> MVC was about 40us,
> >> >> plus 3us for an
> >> >> >>> EX.
> >> >> >>
> >> >> >> For S/360, operands had to be aligned. It
> >> would take lots of shifts
> >> >> >> otherwise, or use an IC, STC loop.
> >> >> >
> >> >> > Not sure about that.
> >> >> > IIRC Watfor allowed unaligned variables, and shifted them
> >> >> > accordingly.
> >> >> >
> >> >> >> S/370 allowed for slow access to unaligned operands.
> >> >> >>
> >> >> >>> But remember that the point of the
> >> 360 series was that
> >> >> >>> programs worked the same way on all
> >> the models, so the
> >> >> >>> code had to be designed so it would
> >> work adequately even
> >> >> >>> at the low end.
> >> >> >>
> >> >> >> Most of the "work the same
> >> way" conveniently exclude timing,
> >> >> >> and also memory size.
> >> >> >
> >> >> > S/360 programs were upwards compatible.
> >> >> > Provided that the larger/faster target machine had the same
> >> >> > instruction set and at least the same amount of memory
> >> >> > (usually the case), then the program would run.
> >> >>
> >> >> No, sometimes speed was critical. (Strong recommendations were made by
> >> >> IBM from the beginning, but mistakes were still made.)
> >> >>
> >> >>>> Many utilities, and also the PL/I (F) compiler, were designed
> >> >>>> to run in small memories, though not necessarily fast.
> >> >>>> PL/I (F) would run in 44K, leaving 20K for PCP on a 360/40.
> >> >>>> At the end of each compilation, it tells you the minimum
> >> >>>> amount of memory to keep the symbol table in core.
> >>>>>> (It will happily write it to disk, if needed.)
> >>
> >>>>> In terms of program size, IBM 360 programs and compilers weren't
> >>>>> designed to run in small memories. Fortran H required some 150K.
> >>
> >>>> And TOS/360 and DOS/360 was designed to run in 16K, and BOS/360 was
> >>>> designed to run in 8. Even OS/360 could run in 32K (and some /very/
> >>>> early statements were made about a 16K tape-resident version of OS/360).
> >>
> >>> And how many of the compilers ran in 8K? 16K?
>
> >> BOS/360 Assembler and RPG ran in 8K, as did BPS Basic Assembler.
>
> > Those are not compilers.
>
> Assembler occupies the same use space as a compiler.
That doesn't make it a compiler.
> RPG is a compiler.
> >> I
> >> forget what the requirements were for BPS RPG and FORTRAN.
>
> >> TOS/360 and DOS/360 Assembler D, TOS/360 and DOS/360 Fortran D, TOS/360
> >> and DOS/360 RPG D, TOS/360 and DOS/360 PL/I D, and TOS/360 COBOL D ran
> >> in 16K.
>
> > DOS PL/I was a subset. PL/I-F couldn't run.
>
> You said nothing about subsets.
Neither did you. I merely pointed it out.
> > DOS FORTRAN and COBOL were probably subset versions.
> > Is that the case?
> > Fortran E and G required larger memories than 8K and 16K.
>
> >> DOS/360 COBOL D was originally targetted for 16K, but ended up
> >> needing 32.
>
> > Precisely my point.
>
> >> > Still, 8K was a far cry from 1K and 2K memories of earlier machines.
>
> >>> It was actually difficult to write any significant S/360 code
> >> that would run in what remained in a 8K or 16K system