This is the mail archive of the 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, Aarch64] Add FMA steering pass for Cortex-A57

On 28 January 2015 at 10:01, Thomas Preud'homme
<> wrote:
>> From: [mailto:gcc-patches-
>>] On Behalf Of Thomas Preud'homme
>> Hi Andrew,
>> cortex-a57-fma-steering.c is really meant to be autosufficient with
>> aarch64_register_fma_steering being the only interface which is why I
>> thought it was not worth the trouble. Now I'm not saying I'm against it
>> as it do make this interface more explicit.
>> I'm currently about to take a plane but I'll change it as soon as I arrive
>> at work.
> My apologies for the delay, got busy when I arrived.
> Please find below (and in attachment for real this time) the updated patch and
> ChangeLog entries.
> *** gcc/ChangeLog ***
> 2015-01-26 Thomas Preud'homme
>     * config.gcc: Add cortex-a57-fma-steering.o to extra_objs for
>     aarch64-*-*.
>     * config/aarch64/t-aarch64: Add a rule for cortex-a57-fma-steering.o.
>     * config/aarch64/aarch64.h (AARCH64_FL_USE_FMA_STEERING_PASS): Define.
>     (AARCH64_TUNE_FMA_STEERING): Likewise.
>     * config/aarch64/aarch64-cores.def: Set
>     AARCH64_FL_USE_FMA_STEERING_PASS for cores with dynamic steering of
>     FMUL/FMADD instructions.
>     * config/aarch64/aarch64.c (aarch64_register_fma_steering): Declare.
>     (aarch64_override_options): Include cortex-a57-fma-steering.h.  Call
>     aarch64_register_fma_steering () if AARCH64_TUNE_FMA_STEERING is true.
>     * config/aarch64/cortex-a57-fma-steering.h: New file.
>     * config/aarch64/cortex-a57-fma-steering.c: Likewise.

OK but wait for stage-1 to open for general development before you
commit it please.

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