On Fri, Sep 27, 2024 at 6:27 AM Pietro Monteiro
wrote:
>
> The prefetch instruction that is emitted by __builtin_prefetch is re-ordered
> on GCC, but not on clang[0]. GCC's behavior is surprising because when using
> the builtin you want the instruction to be placed at the exact point where
> y
On Fri, 2024-09-27 at 00:26 -0400, Pietro Monteiro wrote:
> The prefetch instruction that is emitted by __builtin_prefetch is re-ordered
> on GCC, but not on clang[0]. GCC's behavior is surprising because when using
> the builtin you want the instruction to be placed at the exact point where
>
The prefetch instruction that is emitted by __builtin_prefetch is re-ordered on
GCC, but not on clang[0]. GCC's behavior is surprising because when using the
builtin you want the instruction to be placed at the exact point where you put
it. Moving it around, specially across load/stores, may end