Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site gatech.CSNET Path: utzoo!watmath!clyde!burl!ulysses!gatech!hope From: hope@gatech.CSNET (Theodore Hope) Newsgroups: net.micro.att Subject: 3b2/400 and floating point Message-ID: <2403@gatech.CSNET> Date: Sat, 11-Jan-86 13:20:10 EST Article-I.D.: gatech.2403 Posted: Sat Jan 11 13:20:10 1986 Date-Received: Sun, 12-Jan-86 00:36:44 EST Organization: School of Information and Computer Science, Georgia Tech, Atlanta Lines: 28 I recently unpacked and brought up a 3b2/400, which supposedly comes with the WECO 32??? math chip. Just to see how fast (or slow) the fp hardware is, I wrote a 4 line program, compiled it WITHOUT the infamous '-f' option, and got an Illegal Instruction trap. When compiled WITH '-f,' the program worked. Here's the catch: Since we didn't buy the Software Generation utilities (cc, as, ld, etc,) I moved them over from a 3b2/300 (no math chip). Is it so that there is a special 'as' and/or special libraries which take care of the fp handling? I don't think so, since all fp traps should be handled in a software- transparent fashion (cpu traps, hands off math instruction to the math chip, gets result back, keeps going...) Or does the machine not come with the math chip as standard equipment? What's the scoop? (BTW, here's the prog: float x, y; main () { x = 3.14159; y = x + 2.432; } ) Any insight or useful comments will be appreciated. -- Theodore Hope School of Information & Computer Science, Georgia Tech, Atlanta GA 30332 CSNet: hope@gatech ARPA: Hope%GATech.CSNet @ CSNet-Relay.ARPA uucp: ...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-sally}!gatech!hope