Re: [PATCH] Improve vec extraction

2016-05-06 Thread Kirill Yukhin
On 04 May 21:47, Jakub Jelinek wrote: > Hi! > > While EVEX doesn't have vextracti128, we can use vextracti32x4; > unfortunately without avx512dq we need to use full zmm input operand, > but that shouldn't be a big deal when we hardcode 1 as immediate. > > Bootstrapped/regtested on x86_64-linux an

[PATCH] Improve vec extraction

2016-05-04 Thread Jakub Jelinek
Hi! While EVEX doesn't have vextracti128, we can use vextracti32x4; unfortunately without avx512dq we need to use full zmm input operand, but that shouldn't be a big deal when we hardcode 1 as immediate. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2016-05-04 Jakub Jelin