Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 05:19:20PM +0100, Richard Guenther wrote: > On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 02, 2006 at 04:44:50PM +0100, Jakub Jelinek wrote: > > > On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: > > > > Yes. That is for float and double functions i

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Richard Guenther
On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > On Thu, Mar 02, 2006 at 04:44:50PM +0100, Jakub Jelinek wrote: > > On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: > > > Yes. That is for float and double functions in libm. > > > > > > > to touch x387 > > > > flags for XFmode long long ope

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 04:44:50PM +0100, Jakub Jelinek wrote: > On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: > > Yes. That is for float and double functions in libm. > > > > > to touch x387 > > > flags for XFmode long long operations. > > > > I assume you meant long double. If the l

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Jakub Jelinek
On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: > Yes. That is for float and double functions in libm. > > > to touch x387 > > flags for XFmode long long operations. > > I assume you meant long double. If the library knows it doesn't long > double, it doesn't need to touch x87 unit cont

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 04:34:09PM +0100, Richard Guenther wrote: > On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 02, 2006 at 04:08:54PM +0100, Richard Guenther wrote: > > > On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > > > > With this patch: > > > > > > > > http://gcc.gnu.org/m

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Richard Guenther
On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > On Thu, Mar 02, 2006 at 04:08:54PM +0100, Richard Guenther wrote: > > On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > > > With this patch: > > > > > > http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01877.html > > > > > > gcc no longer mixes SSE and x3

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 04:08:54PM +0100, Richard Guenther wrote: > On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > > With this patch: > > > > http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01877.html > > > > gcc no longer mixes SSE and x387 math by default. However glibc > > still assumes gcc mixes

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Richard Guenther
On 3/2/06, H. J. Lu <[EMAIL PROTECTED]> wrote: > With this patch: > > http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01877.html > > gcc no longer mixes SSE and x387 math by default. However glibc > still assumes gcc mixes SSE and x387 math. The x86-64 FP control > routines in glibc change both SSE an