[PATCH] Introduce prefetch builtin intrinsics for ARM and AArch64

Renato Golin renato.golin at linaro.org
Wed Aug 13 09:05:12 PDT 2014

On 12 August 2014 15:36, Yi Kong <kongy.dev at gmail.com> wrote:
> ARM supports instruction prefetch which the generic prefetch intrinsic
> is not able to describe. AArch64 has even more granular instructions.

Hi Yi,

I assume you'll map ACLE __p* into variations of Intrinsic::prefetch
in the same way.

If that's so, why do you need to add __builtin_arm_prefetch to either
target? Why not add __pldx as the generic one and get __pld/__pli as
wrappers around that? Is there already usage of such a builtin


More information about the cfe-commits mailing list