This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Extract and insert merging patch


Hi,
Bootstrapped. No regressions detected. Please have a look. Is it ok for trunk?

2014-11-05  Petr Murzin  <petr.murzin@intel.com>

gcc/
         * simplify-rtx.c (simplify_ternary_operation): Simplify
           vec_merge (vec_duplicate (vec_select)).

gcc/testsuite/
         * gcc.target/i386/extract-insert-combining.c: New.

Thanks,
Petr

On Wed, Oct 22, 2014 at 9:35 PM, Marc Glisse <marc.glisse@inria.fr> wrote:
> On Wed, 22 Oct 2014, Petr Murzin wrote:
>
>> +                     && UINTVAL (op2) == 1 << UINTVAL (tem))
>
>
> With modes like V64QI around, it is better to replace 1 with
> HOST_WIDE_INT_1U, though we are not consistent about it.
>
> --
> Marc Glisse

Attachment: extract_insert_patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]