Re: [PATCH] 386: Set ix86_fpmath to FPMATH_387 without SSE

2019-02-20 Thread Uros Bizjak
On Tue, Feb 19, 2019 at 9:14 PM H.J. Lu wrote: > > On Tue, Feb 19, 2019 at 6:16 AM Uros Bizjak wrote: > > > > On Tue, Feb 19, 2019 at 2:49 PM H.J. Lu wrote: > > > > > > ix86_fpmath should be set to combination of FPMATH_387 and FPMATH_SSE. > > > When SSE is disabled, it should be set to FPMATH_3

Re: [PATCH] 386: Set ix86_fpmath to FPMATH_387 without SSE

2019-02-19 Thread Uros Bizjak
On Tue, Feb 19, 2019 at 9:14 PM H.J. Lu wrote: > > On Tue, Feb 19, 2019 at 6:16 AM Uros Bizjak wrote: > > > > On Tue, Feb 19, 2019 at 2:49 PM H.J. Lu wrote: > > > > > > ix86_fpmath should be set to combination of FPMATH_387 and FPMATH_SSE. > > > When SSE is disabled, it should be set to FPMATH_3

Re: [PATCH] 386: Set ix86_fpmath to FPMATH_387 without SSE

2019-02-19 Thread H.J. Lu
On Tue, Feb 19, 2019 at 6:16 AM Uros Bizjak wrote: > > On Tue, Feb 19, 2019 at 2:49 PM H.J. Lu wrote: > > > > ix86_fpmath should be set to combination of FPMATH_387 and FPMATH_SSE. > > When SSE is disabled, it should be set to FPMATH_387 and 387 codegen is > > also controlled by -msoft-float. > >

Re: [PATCH] 386: Set ix86_fpmath to FPMATH_387 without SSE

2019-02-19 Thread Uros Bizjak
On Tue, Feb 19, 2019 at 2:49 PM H.J. Lu wrote: > > ix86_fpmath should be set to combination of FPMATH_387 and FPMATH_SSE. > When SSE is disabled, it should be set to FPMATH_387 and 387 codegen is > also controlled by -msoft-float. > > gcc/ > > PR target/89397 > * config/i386/i386.c

[PATCH] 386: Set ix86_fpmath to FPMATH_387 without SSE

2019-02-19 Thread H.J. Lu
ix86_fpmath should be set to combination of FPMATH_387 and FPMATH_SSE. When SSE is disabled, it should be set to FPMATH_387 and 387 codegen is also controlled by -msoft-float. gcc/ PR target/89397 * config/i386/i386.c (ix86_option_override_internal): Set opts->x_ix86_fpmat