Re: [PATCH][AARCH64]Fix PR63424 by adding v2di3 pattern

2014-11-19 Thread Renlin Li
On 19/11/14 11:20, Richard Henderson wrote: On 10/31/2014 03:51 PM, Renlin Li wrote: +(define_expand "v2di3" + [(parallel [ +(set (match_operand:V2DI 0 "register_operand" "") +(MAXMIN:V2DI (match_operand:V2DI 1 "register_operand" "") + (match_operand:V2DI 2 "register

Re: [PATCH][AARCH64]Fix PR63424 by adding v2di3 pattern

2014-11-19 Thread Richard Henderson
On 10/31/2014 03:51 PM, Renlin Li wrote: > +(define_expand "v2di3" > + [(parallel [ > +(set (match_operand:V2DI 0 "register_operand" "") > + (MAXMIN:V2DI (match_operand:V2DI 1 "register_operand" "") > + (match_operand:V2DI 2 "register_operand" ""))) > +(clobber (reg:CC C

Re: [PING][PATCH][AARCH64]Fix PR63424 by adding v2di3 pattern

2014-11-19 Thread Renlin Li
On 10/11/14 16:55, Renlin Li wrote: On 06/11/14 15:00, Renlin Li wrote: Hi all, Dose anybody have time to review this? Kind regards, Renlin Li On 31/10/14 14:51, Renlin Li wrote: Hi all, This is a patch which will fix PR63424. It implements signed/unsigned max/min pattern for V2DI mode in

Re: [PING][PATCH][AARCH64]Fix PR63424 by adding v2di3 pattern

2014-11-10 Thread Renlin Li
On 06/11/14 15:00, Renlin Li wrote: Hi all, Dose anybody have time to review this? Kind regards, Renlin Li On 31/10/14 14:51, Renlin Li wrote: Hi all, This is a patch which will fix PR63424. It implements signed/unsigned max/min pattern for V2DI mode in terms of vcondv2div2di pattern. In

[PING][PATCH][AARCH64]Fix PR63424 by adding v2di3 pattern

2014-11-06 Thread Renlin Li
Hi all, Dose anybody have time to review this? Kind regards, Renlin Li On 31/10/14 14:51, Renlin Li wrote: Hi all, This is a patch which will fix PR63424. It implements signed/unsigned max/min pattern for V2DI mode in terms of vcondv2div2di pattern. In this particular case, VEC_COND_EXPR

[PATCH][AARCH64]Fix PR63424 by adding v2di3 pattern

2014-10-31 Thread Renlin Li
Hi all, This is a patch which will fix PR63424. It implements signed/unsigned max/min pattern for V2DI mode in terms of vcondv2div2di pattern. In this particular case, VEC_COND_EXPR (V2DImode) is generated as aarch64 target supports it (vcond for VALL). The VEC_COND_EXPR will further folded