Re: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR.

2022-12-14 Thread Uros Bizjak via Gcc-patches
> To: Jakub Jelinek > > > Cc: Liu, Hongtao ; gcc-patches@gcc.gnu.org; > > > crazy...@gmail.com; hjl.to...@gmail.com; ubiz...@gmail.com > > > Subject: Re: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and > > > add a > > > new option -m

Re: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR.

2022-12-14 Thread Richard Biener via Gcc-patches
l.com; hjl.to...@gmail.com; ubiz...@gmail.com > > Subject: Re: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and add > > a > > new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR. > > > > On Wed, Dec 14, 2022 at 9:16 AM Jakub Jelinek wrote: >

RE: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR.

2022-12-14 Thread Liu, Hongtao via Gcc-patches
crtfastmath.o for -shared and add a > new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR. > > On Wed, Dec 14, 2022 at 9:16 AM Jakub Jelinek wrote: > > > > On Wed, Dec 14, 2022 at 09:08:02AM +0100, Richard Biener via Gcc-patches > wrote: > > > On Wed, De

Re: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR.

2022-12-14 Thread Richard Biener via Gcc-patches
On Wed, Dec 14, 2022 at 9:16 AM Jakub Jelinek wrote: > > On Wed, Dec 14, 2022 at 09:08:02AM +0100, Richard Biener via Gcc-patches > wrote: > > On Wed, Dec 14, 2022 at 3:21 AM liuhongt via Gcc-patches > > wrote: > > > > > > Don't add crtfastmath.o for -shared to avoid changing the MXCSR > > > reg

Re: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR.

2022-12-14 Thread Jakub Jelinek via Gcc-patches
On Wed, Dec 14, 2022 at 09:08:02AM +0100, Richard Biener via Gcc-patches wrote: > On Wed, Dec 14, 2022 at 3:21 AM liuhongt via Gcc-patches > wrote: > > > > Don't add crtfastmath.o for -shared to avoid changing the MXCSR > > register when loading a shared library. crtfastmath.o will be used > > on

Re: [PATCH] [x86] x86: Don't add crtfastmath.o for -shared and add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR.

2022-12-14 Thread Richard Biener via Gcc-patches
On Wed, Dec 14, 2022 at 3:21 AM liuhongt via Gcc-patches wrote: > > Don't add crtfastmath.o for -shared to avoid changing the MXCSR > register when loading a shared library. crtfastmath.o will be used > only when building executables. > > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}.