Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!batcomputer!prove From: prove@batcomputer.tn.cornell.edu (Roger Ove) Newsgroups: comp.lang.fortran,comp.lang.misc Subject: PREP: fortran preprocessor ->net.sources Message-ID: <1842@batcomputer.tn.cornell.edu> Date: Tue, 16-Dec-86 16:35:07 EST Article-I.D.: batcompu.1842 Posted: Tue Dec 16 16:35:07 1986 Date-Received: Wed, 17-Dec-86 23:33:54 EST Organization: Theory Center, Cornell U., Ithaca NY Lines: 24 Keywords: fortran, preprocessor, cray Xref: mnetor comp.lang.fortran:34 comp.lang.misc:53 This note announces the submission of PREP to net.sources. It is a preprocessor for fortran which supports macros (similar in function to c #define macros), flow control extensions, and vector statement shorthand. It also performs automatic loop unrolling for certain classes of loops, which can improve performance on vector machines such as the Cray xmp. The program is written in generic c and will run on nearly any machine. So far it has been tested on: ibmpc or equivalent (microsoft c v4) Sun Cray XMP (Cray C v1.0) Definicon dsi20 (SVS C) One of the reasons that I am posting this program is so that I can get some feedback on how the unrolling improves or degrades performance on various machines, in particular parallel processors. Hopefully it will be found to be useful for other reasons as well. Please send any comments, suggestions, or results to one of the following addresses: 14004@ncsavmsa.bitnet (14004@ncsaa.cso.uiuc.edu) prove@uiucvmd.bitnet prove@tcgould.tn.cornell.edu