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: [patch] arm: Generate MLA and MLS more.


On 12/20/2009 09:37 PM, Kazu Hirata wrote:
I thought about having the combiner do this splitting.  It does a
little bit of heuristic-based splitting, but it doesn't do this exact
split.

You mean in find_split_point? Given that the canonicalization effectively is already reordering the instructions, 90% of the work is already done.


I'm thinking about something like the attached patch; unfortunately without a testcase for your change, I cannot test it myself. Anyway, the multiply-accumulate case does not look that much architecture-dependent.

Paolo

Attachment: gcc-mla-mls.patch
Description: Text document


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