× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: %EOF - more on GOTO
  • From: pytel@xxxxxxxxxx
  • Date: Sun, 20 Jun 1999 18:36:26 -0500

This last observation is kind of misleading.
GOTO or DOW - unstructured or structured code gets all compiled to same
processor branch instructions.
Processor does not care if branch instruction was generated from despised GOTO
or from respectable DOW.
Old dispute between using or avoiding GOTOs is all about human readability of
code.

Best regards
    Alexei Pytel



Bob Spinks <rspinks@compuserve.com> on 06/19/99 06:08:59 AM

Please respond to RPG400-L@midrange.com

To:   "INTERNET:RPG400-L@midrange.com" <RPG400-L@midrange.com>
cc:    (bcc: Alexei Pytel/Rochester/IBM)
Subject:  Re: %EOF - more on GOTO





What about n-way(pipeline/scalar) processing using multiple chips(up to 12)
on the 720 box.

Conditional branching(i.e. GOTOs,CABs,etc.) clogs up the pipelines due to
prediction
algorithms which must be used for the branch instructions.

Optimization is achieved when all pipelines are full and an instruction is
completed with each
cycle. This is impossible when branching is used in the pgm.

Information on this subject can be gotten from Soltis' book "Inside The
AS/400".

One last vent, GOTO is synonomous for Spaghetti!

Bob Spinks



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.