Article View: comp.arch
Article #12037Re: Is double->int slow?
From: Dik T. Winter
Date: Tue, 11 Jun 1991 21:06
Date: Tue, 11 Jun 1991 21:06
9 lines
911 bytes
911 bytes
In article <COGSWELL.91Jun11112827@MEAT.cs.cmu.edu> 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
Technical Details
Message-ID:
<3683@charon.cwi.nl>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!hp4nl!cwi.nl!dikReferences:
<1991Jun6.172905.5304@vax5.cit.cornell.edu> <1991Jun10.220533.19560@jetsun.weitek.COM> <COGSWELL.91Jun11112827@MEAT.cs.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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> <COGSWELL.91Jun11112827@MEAT.cs.cmu.edu> Sender: news@cwi.nl Distribution: comp Organization: CWI, Amsterdam Lines: 9