Re: [PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-24 Thread Kirill Yukhin
On 24 Oct 19:14, Uros Bizjak wrote: > On Tue, Oct 24, 2017 at 4:46 PM, Jakub Jelinek wrote: > > On Tue, Oct 24, 2017 at 05:44:44AM -0700, H.J. Lu wrote: > >> > What I can see from config/atom.md: > >> > ;; if palignr or psrldq > >> > (define_insn_reservation "atom_sseishft_2" 1

Re: [PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-24 Thread Uros Bizjak
On Tue, Oct 24, 2017 at 4:46 PM, Jakub Jelinek wrote: > On Tue, Oct 24, 2017 at 05:44:44AM -0700, H.J. Lu wrote: >> > What I can see from config/atom.md: >> > ;; if palignr or psrldq >> > (define_insn_reservation "atom_sseishft_2" 1 >> > (and (eq_attr "cpu" "atom") >> >

Re: [PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-24 Thread Jakub Jelinek
On Tue, Oct 24, 2017 at 05:44:44AM -0700, H.J. Lu wrote: > > What I can see from config/atom.md: > > ;; if palignr or psrldq > > (define_insn_reservation "atom_sseishft_2" 1 > > (and (eq_attr "cpu" "atom") > >(and (eq_attr "type" "sseishft") > > (and (eq_attr "atom_unit"

Re: [PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-24 Thread H.J. Lu
On Fri, Oct 20, 2017 at 12:33 PM, Kirill Yukhin wrote: > Hello Jakub, Uroš, Jakub > On 04 Oct 21:35, Jakub Jelinek wrote: >> Hi! >> >> The following patch tweaks the TImode vector shifts similarly >> to the earlier vector shift patch, so that for shifts by immediate >> we

Re: [PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-20 Thread Kirill Yukhin
Hello Jakub, Uroš, Jakub On 04 Oct 21:35, Jakub Jelinek wrote: > Hi! > > The following patch tweaks the TImode vector shifts similarly > to the earlier vector shift patch, so that for shifts by immediate > we can accept a memory input. Additionally, it removes the vec_shl_* > expander, because

Re: [PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-04 Thread H.J. Lu
On 10/4/17, Jakub Jelinek wrote: > Hi! > > The following patch tweaks the TImode vector shifts similarly > to the earlier vector shift patch, so that for shifts by immediate > we can accept a memory input. Additionally, it removes the vec_shl_* I prefer 2 patches, a separate

[PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-04 Thread Jakub Jelinek
Hi! The following patch tweaks the TImode vector shifts similarly to the earlier vector shift patch, so that for shifts by immediate we can accept a memory input. Additionally, it removes the vec_shl_* expander, because the middle-end has dropped that a few years ago, and merges the left and