Re: i387 control word register definition is missing

2005-05-26 Thread Uros Bizjak
Quoting Jan Hubicka [EMAIL PROTECTED]: If you make FPCTR/MXCSR real registers, you will need to add use to all the arithmetic and move pattern that would consume quite some memory and confuse optimizers. I think you can get better around simply using volatile unspecs inserted by LCM pass

Re: i387 control word register definition is missing

2005-05-25 Thread Uros Bizjak
Hello! Well you really want both the fpcr and the mxcsr registers, since the fpcr only controls the x87 and the mxcsr controls the xmm registers. Note, in adding these registers, you are going to have to go through all of the floating point patterns to add (use:HI FPCR_REG) and (use:SI

Re: i387 control word register definition is missing

2005-05-25 Thread Jan Hubicka
Hello! Well you really want both the fpcr and the mxcsr registers, since the fpcr only controls the x87 and the mxcsr controls the xmm registers. Note, in adding these registers, you are going to have to go through all of the floating point patterns to add (use:HI FPCR_REG) and

Re: i387 control word register definition is missing

2005-05-24 Thread Michael Meissner
On Mon, May 23, 2005 at 10:25:26AM +0200, Uros Bizjak wrote: Hello! It looks that i387 control word register definition is missing from register definitions for i386 processor. Inside i386.h, we have: #define FIXED_REGISTERS \ /*ax,dx,cx,bx,si