Skip to content

Can non-temporal loads use the LLVM intrinsic instead? #2155

@ruriww

Description

@ruriww

According to @Amanieu:

I checked and only non-temporal stores have special memory orderings on x86. x86 non-temporal loads work just like normal loads.

Using inline assembly produces suboptimal code, see https://godbolt.org/z/os8bG3Efr.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions