From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4a212ac2372bd10e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,4a212ac2372bd10e X-Google-Attributes: gid102b75,public From: pmontgom@math.orst.edu (Peter Montgomery) Subject: Re: 21164PC demonstration/talk at Microprocessor Forum Date: 1996/11/12 Message-ID: <568jh4$b02@news.orst.edu>#1/1 X-Deja-AN: 195883690 references: <3283D700.47EB@OntheNet.com.au> <32871515.200912006@nntp.ne.highway1.com> organization: Oregon State University Math Department newsgroups: comp.arch,comp.sys.dec In article <32871515.200912006@nntp.ne.highway1.com> yates@highway1.com (John S. Yates, Jr.) writes: >On Mon, 11 Nov 1996 07:27:45 GMT, zalman@netcom.com (Zalman Stern) >wrote: >> Now >>if you want something tricky, lets talk about exact emulation of 80-bit >>floating-point, complete with exceptions. Ugh...) >Good point Zalman. FX!32 does not implement 80 bit floating point >arithmetic. (Neither do any of the other x86 emulators.) The biggest >problem that this introduces is emulating precision related exceptions >(denormal input, overflow, underflow, and especially imprecise). FX!32 >does emulate other fp exceptions correctly: invalid operation, divide >by zero, stack overflow and stack underflow. Since Intel 80-bit floating point operands have 16-bit exponent and 64-bit mantissa, the Alpha should be able to emulate these using 16-bit and 64-bit integers. Ignoring exceptional cases such a denormal operands, the Alpha's 64-bit integer arithmetic should allow quick emulation of Intel's addition/subtraction/multiplication. Division and square root are slightly harder. The transcendental instructions like FPATAN would seem hardest, although it should be acceptable for FX!32 to be one bit off in its approximations. For users who don't require the full 80-bit precision, but whose programs are floating point intensive, FX!32 could have an option to use 64-bit IEEE arithmetic. -- Peter L. Montgomery Internet: pmontgom@math.orst.edu One party's equation: PRESIDENTIAL PEOPLE = DIET PINEAPPLE ROLES