Re: generating float point operation codef or complex formula in x87

simg@netcom.com (SimGraphics)
10 Oct 1996 11:00:38 -0400

          From comp.compilers

Related articles
generating float point operation codef or complex formula in x87 truejaws%dcs.sec.samsung.co.kr@nic.sait.samsung.co (Han, Sangjin) (1996-10-08)
Re: generating float point operation codef or complex formula in x87 simg@netcom.com (1996-10-10)
| List of all articles for this month |

From: simg@netcom.com (SimGraphics)
Newsgroups: comp.compilers
Date: 10 Oct 1996 11:00:38 -0400
Organization: SimGraphics Engineering, South Pasadena, California
References: 96-10-025
Keywords: code, arithmetic

Hardware stack on 80x87 is indeed 8 levels deep. However many floating point
libraries trap stck overflow/underflow exceptions and virtualize hardware
stack to provide many more levels.


Last time I've checked Microsoft floating point library, the stack overflowed
at 32 levels.


If your deeply nested expressions are rare enough, you may be satisfied
with overall performance of your code without doing anything clever to
reorganize expressions into shallower form.


Good luck,


Sylvester (sylvek@simg.com)
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.