[PATCH] Don't lower VEC_PERM_EXPR if it can be expanded using vec_shr optab (PR target/68483)

2015-11-23 Thread Jakub Jelinek
Hi! The patches that removed VEC_RSHIFT_EXPR regressed the first of these testcases on i?86/-msse2, because can_vec_perm_p returns false for that, and indeed as can_vec_perm_p is given only the mode and mask indices, there is nothing it can do about it. The former VEC_RSHIFT_EXPR is a special

Re: [PATCH] Don't lower VEC_PERM_EXPR if it can be expanded using vec_shr optab (PR target/68483)

2015-11-23 Thread Richard Biener
On November 23, 2015 8:14:59 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >The patches that removed VEC_RSHIFT_EXPR regressed the first of these >testcases on i?86/-msse2, because can_vec_perm_p returns false for >that, >and indeed as can_vec_perm_p is given only the mode and mask