Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Mark Granger Newsgroups: scea.yaroze.programming.codewarrior Subject: fp codegen? Date: Fri, 25 Apr 1997 16:52:04 -0800 Organization: SCEA Net Yaroze News Lines: 16 Message-ID: <336151B4.4E4B@electricimage.com> NNTP-Posting-Host: 199.35.234.71 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Macintosh; I; PPC) There is an option for floating point code generation. I have this option turned off because the playstation does not have floating point support. Some of the demos use floating point math, so I presume that the floating point is emulated by the GNU compilers. The Metrowerks compiler appears to be issuing floating point instructions regardless of the fp code gen option. In addition, when a floating point number is converted to an integer a call is made to an external function "__cvt_dfp2unsigned". This function does not exist in the play station library. What gives? Mark Granger VP R&D Electric Image, Inc.