Re: GCC 3.3.1 -O2 problem with sqrt.c

2005-06-17 Thread Sanjiv Kumar Gupta
--- Ian Lance Taylor 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 st

Re: GCC 3.3.1 -O2 problem with sqrt.c

2005-06-03 Thread Ian Lance Taylor
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 named parts as DImode. > > > >>This is crea

RE: GCC 3.3.1 -O2 problem with sqrt.c

2005-06-02 Thread Dave Korn
Original Message >From: Sanjiv Kumar Gupta >Sent: 30 May 2005 14:55 > 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 wha

Re: GCC 3.3.1 -O2 problem with sqrt.c

2005-05-30 Thread Sanjiv Kumar Gupta
. I don't know whether gcc mail server accepts attachments or not, Oh. It does. --- 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

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 cont

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 s

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; } ieee_