Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!hp4nl!cwi.nl!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.arch Subject: Re: Is double->int slow? Message-ID: <3683@charon.cwi.nl> Date: 11 Jun 91 21:06:02 GMT References: <1991Jun6.172905.5304@vax5.cit.cornell.edu> <1991Jun10.220533.19560@jetsun.weitek.COM> Sender: news@cwi.nl Distribution: comp Organization: CWI, Amsterdam Lines: 9 In article cogswell@MEAT.cs.cmu.edu (Bryce Cogswell) writes: > Double to int conversion on the RS/6000 is done in software, and > requires 17-39 instructions. > Indeed. But most of the code are for out of range checking end rounding mode setting (I think). The actual conversion is only 3 instructions. -- dik t. winter, cwi, amsterdam, nederland dik@cwi.nl