[PATCH] Extend MVE patterns

Revital1 Eres ERES@il.ibm.com
Wed Mar 7 15:40:00 GMT 2007


Hello,

MVE currently can be applied on insns that are of the form of:
x = x + something
This patch extend MVE to support also insns of the form:
x = something + x.   This form can appears when PPC built-in function
builtin_madd is expanded to RTL.

Bootstrapped and tested on ppc.

OK for mainline?

Thanks,
Revital


2007-03-07  Revital Eres  <eres@il.ibm.com>

        * loop-unroll.c (var_to_expand): New field to support also
        insns of the form x = something + x.
        (analyze_insn_to_expand_var): Use it.
        (expand_var_during_unrolling): Likewise.


(See attached file: patch_ve)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_ve
Type: application/octet-stream
Size: 2724 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070307/d9f93d1b/attachment.obj>


More information about the Gcc-patches mailing list