Re: [02/nn] Add more vec_duplicate simplifications

2017-11-10 Thread Christophe Lyon
On 25 October 2017 at 18:29, Jeff Law wrote: > On 10/23/2017 05:17 AM, Richard Sandiford wrote: >> This patch adds a vec_duplicate_p helper that tests for constant >> or non-constant vector duplicates. Together with the existing >> const_vec_duplicate_p, this complements the

Re: [02/nn] Add more vec_duplicate simplifications

2017-10-25 Thread Jeff Law
On 10/23/2017 05:17 AM, Richard Sandiford wrote: > This patch adds a vec_duplicate_p helper that tests for constant > or non-constant vector duplicates. Together with the existing > const_vec_duplicate_p, this complements the gen_vec_duplicate > and gen_const_vec_duplicate added by a previous

[02/nn] Add more vec_duplicate simplifications

2017-10-23 Thread Richard Sandiford
This patch adds a vec_duplicate_p helper that tests for constant or non-constant vector duplicates. Together with the existing const_vec_duplicate_p, this complements the gen_vec_duplicate and gen_const_vec_duplicate added by a previous patch. The patch uses the new routines to add more rtx

Add more vec_duplicate simplifications

2017-09-23 Thread Richard Sandiford
This patch adds a vec_duplicate_p helper that tests for constant or non-constant vector duplicates. Together with the existing const_vec_duplicate_p, this complements the gen_vec_duplicate and gen_const_vec_duplicate added by a previous patch. The patch uses the new routines to add more rtx