Re: [PATCH 1/5] x86: Add -mmwait for -mgeneral-regs-only

2021-08-16 Thread Martin Liška
On 8/16/21 2:28 PM, Richard Biener via Gcc-patches wrote: Yes please, and do it with the same commit doing the .opt change. Just one quick note: I've got a periodic builder that verifies the LTO stream on tramp3d in all active branches. Martin

Re: [PATCH 1/5] x86: Add -mmwait for -mgeneral-regs-only

2021-08-16 Thread H.J. Lu via Gcc-patches
; > * lto-streamer.h (LTO_minor_version): Bump. > > > > Do I need to do it again if I can check in my patches this week? > > Yes please, and do it with the same commit doing the .opt change. > Here is the updated patch with LTO_minor_version bump. Thanks. -- H.J

Re: [PATCH 1/5] x86: Add -mmwait for -mgeneral-regs-only

2021-08-16 Thread Richard Biener via Gcc-patches
On Mon, Aug 16, 2021 at 2:25 PM H.J. Lu wrote: > > On Sun, Aug 15, 2021 at 11:11 PM Richard Biener > wrote: > > > > On Fri, Aug 13, 2021 at 3:51 PM H.J. Lu wrote: > > > > > > Add -mmwait so that the MWAIT and MONITOR intrinsics can be used with > > > -mgeneral-regs-only and make -msse3 to imply

Re: [PATCH 1/5] x86: Add -mmwait for -mgeneral-regs-only

2021-08-16 Thread H.J. Lu via Gcc-patches
On Sun, Aug 15, 2021 at 11:11 PM Richard Biener wrote: > > On Fri, Aug 13, 2021 at 3:51 PM H.J. Lu wrote: > > > > Add -mmwait so that the MWAIT and MONITOR intrinsics can be used with > > -mgeneral-regs-only and make -msse3 to imply -mmwait. > > Adding new options requires to bump the LTO streami

Re: [PATCH 1/5] x86: Add -mmwait for -mgeneral-regs-only

2021-08-15 Thread Richard Biener via Gcc-patches
On Fri, Aug 13, 2021 at 3:51 PM H.J. Lu wrote: > > Add -mmwait so that the MWAIT and MONITOR intrinsics can be used with > -mgeneral-regs-only and make -msse3 to imply -mmwait. Adding new options requires to bump the LTO streaming minor version (I know we forgot it once on the branch already when

[PATCH 1/5] x86: Add -mmwait for -mgeneral-regs-only

2021-08-13 Thread H.J. Lu via Gcc-patches
Add -mmwait so that the MWAIT and MONITOR intrinsics can be used with -mgeneral-regs-only and make -msse3 to imply -mmwait. gcc/ * config.gcc: Install mwaitintrin.h for i[34567]86-*-* and x86_64-*-* targets. * common/config/i386/i386-common.c (OPTION_MASK_ISA2_MWAIT_SET):