Re: [PATCH] i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL

2019-02-12 Thread H.J. Lu
On Tue, Feb 12, 2019 at 10:02 AM Uros Bizjak wrote: > > On Fri, Feb 8, 2019 at 12:29 PM H.J. Lu wrote: > > > > On Fri, Feb 8, 2019 at 1:51 AM Uros Bizjak wrote: > > > > > > On Thu, Feb 7, 2019 at 10:11 PM H.J. Lu wrote: > > > > > > > > OImode and TImode moves must be done in XImode to access up

Re: [PATCH] i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL

2019-02-12 Thread Uros Bizjak
On Fri, Feb 8, 2019 at 12:29 PM H.J. Lu wrote: > > On Fri, Feb 8, 2019 at 1:51 AM Uros Bizjak wrote: > > > > On Thu, Feb 7, 2019 at 10:11 PM H.J. Lu wrote: > > > > > > OImode and TImode moves must be done in XImode to access upper 16 > > > vector registers without AVX512VL. With AVX512VL, we ca

Re: [PATCH] i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL

2019-02-10 Thread Uros Bizjak
On Mon, Feb 11, 2019 at 3:35 AM Alan Modra wrote: > > On Fri, Feb 08, 2019 at 10:51:34AM +0100, Uros Bizjak wrote: > > On Thu, Feb 7, 2019 at 10:11 PM H.J. Lu wrote: > > > > > > OImode and TImode moves must be done in XImode to access upper 16 > > > vector registers without AVX512VL. With AVX512

Re: [PATCH] i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL

2019-02-10 Thread Alan Modra
On Fri, Feb 08, 2019 at 10:51:34AM +0100, Uros Bizjak wrote: > On Thu, Feb 7, 2019 at 10:11 PM H.J. Lu wrote: > > > > OImode and TImode moves must be done in XImode to access upper 16 > > vector registers without AVX512VL. With AVX512VL, we can access > > upper 16 vector registers in OImode and T

Re: [PATCH] i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL

2019-02-08 Thread H.J. Lu
On Fri, Feb 8, 2019 at 1:51 AM Uros Bizjak wrote: > > On Thu, Feb 7, 2019 at 10:11 PM H.J. Lu wrote: > > > > OImode and TImode moves must be done in XImode to access upper 16 > > vector registers without AVX512VL. With AVX512VL, we can access > > upper 16 vector registers in OImode and TImode. >

Re: [PATCH] i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL

2019-02-08 Thread Uros Bizjak
On Thu, Feb 7, 2019 at 10:11 PM H.J. Lu wrote: > > OImode and TImode moves must be done in XImode to access upper 16 > vector registers without AVX512VL. With AVX512VL, we can access > upper 16 vector registers in OImode and TImode. > > PR target/89229 > * config/i386/i386.md (*mo

[PATCH] i386: Use OI/TImode in *mov[ot]i_internal_avx with AVX512VL

2019-02-07 Thread H.J. Lu
OImode and TImode moves must be done in XImode to access upper 16 vector registers without AVX512VL. With AVX512VL, we can access upper 16 vector registers in OImode and TImode. PR target/89229 * config/i386/i386.md (*movoi_internal_avx): Set mode to XI for upper 16 vector