Re: [AArch64, 2/4] Extend vector mutiply by element to all supported modes

2016-05-26 Thread James Greenhalgh
On Wed, May 18, 2016 at 02:13:53PM +0100, Jiong Wang wrote: > Thanks for reporting this. > > Yes, reproduced. I should force those res* local variable into > memory so they can be in the same order as the expected result > which is kept in memory. > > The following patch fix this. > > vmul_elem_

Re: [AArch64, 2/4] Extend vector mutiply by element to all supported modes

2016-05-18 Thread Jiong Wang
On 18/05/16 09:17, Christophe Lyon wrote: On 17 May 2016 at 14:27, James Greenhalgh wrote: On Mon, May 16, 2016 at 10:09:31AM +0100, Jiong Wang wrote: AArch64 support vector multiply by element for V2DF, V2SF, V4SF, V2SI, V4SI, V4HI, V8HI. All above are well supported by "*aarch64_mul3_elt"

Re: [AArch64, 2/4] Extend vector mutiply by element to all supported modes

2016-05-18 Thread Christophe Lyon
On 17 May 2016 at 14:27, James Greenhalgh wrote: > On Mon, May 16, 2016 at 10:09:31AM +0100, Jiong Wang wrote: >> AArch64 support vector multiply by element for V2DF, V2SF, V4SF, V2SI, >> V4SI, V4HI, V8HI. >> >> All above are well supported by "*aarch64_mul3_elt" pattern and >> "*aarch64_mul3_elt_

Re: [AArch64, 2/4] Extend vector mutiply by element to all supported modes

2016-05-17 Thread James Greenhalgh
On Mon, May 16, 2016 at 10:09:31AM +0100, Jiong Wang wrote: > AArch64 support vector multiply by element for V2DF, V2SF, V4SF, V2SI, > V4SI, V4HI, V8HI. > > All above are well supported by "*aarch64_mul3_elt" pattern and > "*aarch64_mul3_elt_" if there is lane size > change. > > Above patterns ar

[AArch64, 2/4] Extend vector mutiply by element to all supported modes

2016-05-16 Thread Jiong Wang
AArch64 support vector multiply by element for V2DF, V2SF, V4SF, V2SI, V4SI, V4HI, V8HI. All above are well supported by "*aarch64_mul3_elt" pattern and "*aarch64_mul3_elt_" if there is lane size change. Above patterns are trying to match "(mul (vec_dup (vec_select)))" which is genuinely vector