Can C default to float? Are there fl

rs at mirror.UUCP rs at mirror.UUCP
Thu Sep 19 00:37:00 AEST 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



More information about the Comp.lang.c mailing list