SUN-4 FPU

montanaro at sprite.steinmetz.ge.com montanaro at sprite.steinmetz.ge.com
Thu Feb 9 13:58:32 AEST 1989


The Sun-4 compilers always assume that an FPU is installed. Without an FPU
(as on Bruce Barnett's Sun-4/110) attempts to execute FP instructions
cause a trap to the kernel, where they are then executed in software. I
tried compiling a small floating point program on a Solborne. Their
compiler (and I assume Sun's as well) accepts -fsoft on the command line
but ignores it.  The generated assembler still contains FPU instructions,
not calls to software FP routines.

It makes you wonder if Sun actually tried any floating point stuff on
non-FPU graced Sun-4/110s before they began letting them out the door.

--
Skip Montanaro (montanaro at sprite.steinmetz.ge.com, montanaro at ge-crd.arpa)



More information about the Comp.sys.sun mailing list