Approved-By:  usenet@UX3.CSO.UIUC.EDU
Newsgroups: bit.listserv.apple2-l
Date:         Thu, 24 Dec 1992 00:04:01 EST
Comments:     Warning -- original Sender: tag was usenet@UX3.CSO.UIUC.EDU
From:         stuckey@mrcnext.cso.uiuc.edu
Subject:      Jump.c 1.0 - HyperC optimize utility [ 1/1]

        Notes on Jump.c
        By Anthony J. Stuckey, 10-27-92.

        Jump.c addresses one of the problem cases of HyperC's CP-code
generation.  It looks for cases where two consecutive instructions
are jumps, and tries to combine them in such a way as to make one
instruction out of them.
        This problem occurs at the end of some switch() statements,
in for loops and some other places that use break, and potentially
where goto's are used.
        This program is intended to be added to your "cc" script, just
before either asmcp or mac.

        This program will run on any machine that will run HyperC.
There's no charge for it, but comments are welcome at my address in the
source.

FiLeStArTfIlEsTaRt
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789()
HJUMP.SHK       AERUAAAACA(4KIAgAAAAAAAAAAAAAERUAQl(
GVvTlzW6BQr1AAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAARBAAAAQEAAAAAAAA
GVvTVwN2BAAPAMAABAAAA8CAAAw4AQAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAwAAAAAGAAAAAAAAAAIAAAABAAAAAAAAAAAAgMACAAAAIAA
AAAAfgKANDAAAAwDNVlSD5CUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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cLRUQqY2oRCTFPIKMtwOmEAXJsUK8SoAppUezaYwCQXt0coY(7J2Zceus1
Sx0wMiq0dtJBDjhLwFwkAAQBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AQOh
--
Anthony J. Stuckey              stuckey@mrcnext.cso.uiuc.edu

"And if you frisbee-throw a universe where does it go?"
             Turquoise, Steve Blunt.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU