Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.arch Subject: Re: pointers to freshly minted func Message-ID: <798@ttrdc.UUCP> Date: Sat, 15-Mar-86 20:00:11 EST Article-I.D.: ttrdc.798 Posted: Sat Mar 15 20:00:11 1986 Date-Received: Sun, 16-Mar-86 10:48:46 EST References: <2277@phri.UUCP> <5600043@uiucdcsb> Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 22 In a related vein: It is my understanding that Spice 2 (an electronic circuit simulation program written entirely in Fortran, except for a few system-dependent interfaces) in the CDC version had a feature called CODGEN, where it would actually generate machine code for solving upper (or lower, or both?) triangular matrices. Now, how in the dickens did they get the machine to "run" the generated code? I presume the interface must have been done in assembly language or at least not in Fortran (which appears to me even less promising than C to have a way to "go to" the data space). Maybe they figured out some way to overwrite a dummy function with the specially generated code? Even wierder, some time ago in mod.vlsi (or whatever it was called then) someone alluded to doing it under (the infamous Unix) f77 on a VAX (or a Sun?). Does somebody know how this would have been implemented? Thanks in advance. -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer or the administrator of any computer | at&t computer systems division | upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa, vax135}!ttrdc!levy