This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Extract and insert merging patch
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Petr Murzin <petrmurzin1 at gmail dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Tue, 16 Sep 2014 14:27:23 +0200 (CEST)
- Subject: Re: Extract and insert merging patch
- Authentication-results: sourceware.org; auth=none
- References: <CANDVG5j0+sn_1EeBrmU0ebQn=E91BWULu60d=5CxH6kN9BHV=w at mail dot gmail dot com>
- Reply-to: gcc-patches at gcc dot gnu dot org
On Tue, 16 Sep 2014, Petr Murzin wrote:
Hi,
This patch allows merging of extract and insert. Please have a look.
2014-09-16 Petr Murzin <petr.murzin@intel.com>
* simplify-rtx.c (simplify_ternary_operation): Allow extract and
insert merging.
Hello,
no testcase?
You could probably generalize 0 and 1 to i and 1<<i, but that might
require an extra check on the size of XEXP (op0, 0).
--
Marc Glisse