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, aarch64] Add prefetch support


PING!
________________________________________
From: Gopalasubramanian, Ganesh
Sent: Friday, July 04, 2014 5:57 AM
To: gcc-patches@gcc.gnu.org
Cc: marcus.shawcroft@arm.com; richard.earnshaw@arm.com
Subject: [PATCH, aarch64] Add prefetch support

Hi,

Attached is a patch that implements
*       Prefetch with immediate offset in the range 0 to 32760 (multiple of 8). Added a predicate for this.
*       Prefetch with immediate offset - in the range -256 to 255 (Gets generated only when we have a negative offset. Generates prfum instruction). Added a predicate for this.
*       Prefetch with register offset. (modified for printing the locality)

This patch has been already discussed on https://gcc.gnu.org/ml/gcc-patches/2014-02/msg01644.html

"make -k check" passes. Ok for trunk?

Changelog

2014-07-04  Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>

        * config/aarch64/aarch64.md (define_insn "*prefetch")
        (define_insn "prefetch"): New
        * config/aarch64/predicates.md (aarch64_prefetch_pimm)
        (aarch64_prefetch_unscaled): New.
        * config/arm/types.md (define_attr "type"): Add prefetch.

Regards
Ganesh


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