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]

[PATCH] Extend MVE patterns


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)

Attachment: patch_ve
Description: Binary data


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