Re: V2 [PATCH] i386: Handle REG_EH_REGION note

2019-03-14 Thread H.J. Lu
On Thu, Mar 14, 2019 at 4:34 PM Jakub Jelinek wrote: > > On Thu, Mar 14, 2019 at 11:30:21AM +0800, H.J. Lu wrote: > > We need to split the basic block if we create new insns, which may > > throw exceptions, in the middle of the basic blocks. > > > > Tested on AVX2 and AVX512 machines with and

Re: V2 [PATCH] i386: Handle REG_EH_REGION note

2019-03-14 Thread Jakub Jelinek
On Thu, Mar 14, 2019 at 11:30:21AM +0800, H.J. Lu wrote: > We need to split the basic block if we create new insns, which may > throw exceptions, in the middle of the basic blocks. > > Tested on AVX2 and AVX512 machines with and without > > --with-arch=native > > OK for trunk? That looks much

V2 [PATCH] i386: Handle REG_EH_REGION note

2019-03-13 Thread H.J. Lu
On Thu, Mar 14, 2019 at 1:28 AM Jakub Jelinek wrote: > > On Tue, Mar 12, 2019 at 09:36:32AM +0800, H.J. Lu wrote: > > PR target/89650 > > * config/i386/i386.c (remove_partial_avx_dependency): Handle > > REG_EH_REGION note. > > > > gcc/testsuite/ > > > > PR target/89650 > >