Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site mirror.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!mirror!rs From: rs@mirror.UUCP Newsgroups: net.lang.c Subject: Re: Can C default to float? Are there fl Message-ID: <6000006@mirror.UUCP> Date: Wed, 18-Sep-85 10:37:00 EDT Article-I.D.: mirror.6000006 Posted: Wed Sep 18 10:37:00 1985 Date-Received: Sun, 22-Sep-85 06:19:19 EDT References: <175@mit-bug.UUCP> Lines: 26 Nf-ID: #R:mit-bug:-17500:mirror:6000006:000:965 Nf-From: mirror!rs Sep 18 10:37:00 1985 > On machines such as the 68000 that have separate address and data > register sets, the C compiler doesn't normally distinguish between the > two when allocating them; special enhancements need to be made to the > compiler in order for the allocation to be done appropriately. A > similar enhancement need to be done for floating-point registers. > > -- > Ken Turkowski @ CADLINC, Menlo Park, CA Sorry, Ken. If the C compiler is based on PCC, as most of them are, then: "The machine is assumed to have a number of registers, of at most two different types: A and B. Within each register class, there may be sratch (temporary) registers and dedicated registers (e.g., register variables, the stack pointer, etc.)" -A Tour Through the Portable C Compiler, pg 14. (Unix Progammer's Manual, Vol. 2[AB]) -- Rich $alz {mit-eddie, ihnp4!inmet, wjh12, cca, datacube} !mirror!rs Mirror Systems 2067 Massachusetts Ave. 617-661-0777 Cambridge, MA, 02140