Article View: alt.folklore.computers
Article #210941Re: Most complex instructions
From: Alan T. Bowler
Date: Thu, 16 Aug 2001 22:07
Date: Thu, 16 Aug 2001 22:07
42 lines
3488 bytes
3488 bytes
"Heinz W. Wiggeshoff" wrote:
>
> > In article <6aie7.52269$e%3.8...@news2-win.server.ntlworld.com>,
> > Chris Bigos wrote:
> >
> >>I wouldn't be surprised if the RPSB instruction (Repack Symbols) takes the
> >>prize for the most complex instruction ever implemented in the history of
> >>mainframe computing - certainly of the era. Any comments? (I guess this
> >>should be a new thread - if there isn't one on this topic already.)
>
> In the very early 70's, I read about a GE 6xx(?) list processing machine
> instruction. Someone commented that complier writers like those types
> of instructions. Any GE experts in a.f.c-land?
The 600 Series had (has? since the architecture lives on)
3 "repeat" instructions that were sort of a poor man's
vector mode. You can arrange that the next instruction
is repeatedly executed until a count is reached, or a
condition code satisfied. An index register is advanced
so that you step through memory.
RPT repeats one instruction,
typical use add up a set of numbers of do a linear search
RPD "repeat double" repeats two instructions
if the instructions were load and store this could be used
for a block move. This use was generally superceded when
character and bit vector block move instrctions were added
to the architecture.
RPL "repeat link"
This was the primary list processing variation.
With effort you can also use the repeat double to run down a list.
I don't know of any compiler that uses repeat link, for generated
code, and RPT and RPD are sometimes generated to do the case lookup
for B/C/Pascal switch statements. Other than that compilers generally
can't find a use for these instructions. There is some library code
that uses them. The C library memory allocator is the principal
user of RPL and RPD to manage its free list.
None of the repeat instructions is particulary complex, and they are
all a lot simpler than the "move edit" instruction which is used
by the Cobol compiler. Even more complex is the interdomain
call/return instruction. (Calls to the OS for supervisor services
are just part of its use.)
Technical Details
Message-ID:
<3B7C440D.18378F84@thinkage.ca>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feeder.qis.net!sunqbc.risq.qc.ca!news.uunet.ca!nnrp1.uunet.ca.POSTED!not-for-mailReferences:
<jwU87.26231$J37.6143999@typhoon.southeast.rr.com> <vd2NzVOTNb7v-pn2-S9FIPi2udxUW@dialup-63.208.164.94.Dial1.Washington2.Level3.net> <9k3oan$t35$1@top.mitre.org> <vd2NzVOTNb7v-pn2-kRuq3Z30rY3O@dialup-209.244.87.87.Dial1.Washington2.Level3.net> <vd2NzVOTNb7v-pn2-PBomleKh1jJS@dialup-209.244.224.188.Dial1.Washin <9l0m6j$la3$1@top.mitre.org> <K2Tc7.108947$TM5.16755795@typhoon.southeast.rr.com> <6aie7.52269$e%3.8225465@news2-win.server.ntlworld.com> <slrn9no27d.psh.rsteiner@isis.visi.com> <9lh2kk$k6u$1@freenet9.carleton.ca>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feeder.qis.net!sunqbc.risq.qc.ca!news.uunet.ca!nnrp1.uunet.ca.POSTED!not-for-mail Message-ID: <3B7C440D.18378F84@thinkage.ca> From: "Alan T. Bowler" <atbo...@thinkage.ca> Organization: Thinkage Ltd. X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: alt.folklore.computers Subject: Re: Most complex instructions References: <jwU87.26231$J37.6143999@typhoon.southeast.rr.com> <vd2NzVOTNb7v-pn2-S9FIPi2udxUW@dialup-63.208.164.94.Dial1.Washington2.Level3.net> <9k3oan$t35$1@top.mitre.org> <vd2NzVOTNb7v-pn2-kRuq3Z30rY3O@dialup-209.244.87.87.Dial1.Washington2.Level3.net> <vd2NzVOTNb7v-pn2-PBomleKh1jJS@dialup-209.244.224.188.Dial1.Washin <9l0m6j$la3$1@top.mitre.org> <K2Tc7.108947$TM5.16755795@typhoon.southeast.rr.com> <6aie7.52269$e%3.8225465@news2-win.server.ntlworld.com> <slrn9no27d.psh.rsteiner@isis.visi.com> <9lh2kk$k6u$1@freenet9.carleton.ca> Lines: 42 Date: Thu, 16 Aug 2001 18:07:09 -0400 NNTP-Posting-Host: 192.102.11.4 X-Trace: nnrp1.uunet.ca 997999628 192.102.11.4 (Thu, 16 Aug 2001 18:07:08 EDT) NNTP-Posting-Date: Thu, 16 Aug 2001 18:07:08 EDT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit