Re: GCC 3.3.1 -O2 problem with sqrt.c

2005-06-17 Thread Sanjiv Kumar Gupta
--- Ian Lance Taylor ian@airs.com wrote: Sanjiv Kumar Gupta [EMAIL PROTECTED] writes: I couldn't understand why the insns 620 and 621 are being generated here as DI moves. I'm not sure specifically why it got a DI move here, but it doesn't look wrong. It's treating the struct

Re: GCC 3.3.1 -O2 problem with sqrt.c

2005-05-31 Thread Sanjiv Kumar Gupta
. I don't know whether gcc mail server accepts attachments or not, Oh. It does. --- Ian Lance Taylor ian@airs.com wrote: Sanjiv Kumar Gupta [EMAIL PROTECTED] writes: I am using gcc 3.3.1 release as my port, and looks like I have hit a problem with greg. You neglected to mention what

Re: GCC 3.3.1 -O2 problem with sqrt.c

2005-05-30 Thread Sanjiv Kumar Gupta
Ian Lance Taylor wrote: Sanjiv Kumar Gupta [EMAIL PROTECTED] writes: I am using gcc 3.3.1 release as my port, and looks like I have hit a problem with greg. You neglected to mention what target you are using. Ian, the port is for a 32-bit RISC and not complete yet, hence still not

GCC 3.3.1 -O2 problem with sqrt.c

2005-05-27 Thread Sanjiv Kumar Gupta
I am using gcc 3.3.1 release as my port, and looks like I have hit a problem with greg. The source program is the sqrt.c math function __ieee754_sqrt. ( I am pasting the relevent part here) typedef union { double value; struct { unsigned int lsw; unsigned int msw; } parts; }

Re: GCC 3.3.1 -O2 problem with sqrt.c

2005-05-27 Thread Ian Lance Taylor
Sanjiv Kumar Gupta [EMAIL PROTECTED] writes: I am using gcc 3.3.1 release as my port, and looks like I have hit a problem with greg. You neglected to mention what target you are using. I couldn't understand why the insns 620 and 621 are being generated here as DI moves. I'm not sure