www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/02/20:02:36

Date: Wed, 2 Nov 94 18:06 GMT
From: shaw AT cix DOT compulink DOT co DOT uk (Shaw Carruthers)
Subject: Re: GCC 260 Maths Bug
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: shaw AT cix DOT compulink DOT co DOT uk
Reply-To: shaw AT cix DOT compulink DOT co DOT uk

In-Reply-To: <27183 DOT 9411010959 AT helios DOT dmu DOT ac DOT uk>
Thanks for your help.

I have the maints installed.

By hacking through the code with various debuggers, I have found that the 
code which gives a result on my system sets the fp control word to 
0x0f7f. GCC sets it to 0x0c7a which leads to the program hanging. If I 
use edebug32 to change this to 0x0f7f the program runs and returns 
0x80000000. 
Unfortunately I do not have a reference to the meaning of the fp control 
bits here so I cannot fully understand what is going on.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019