Skip to content

Rust support for nontemporal stores? #114

@nominolo

Description

@nominolo

The _mm_stream_ps intrinsic implements a store to memory with a "non-temporal" hint (i.e., try not to pollute the cache). In the LLVM code this is implemented via __builtin_nontemporal_store which should compile to an LLIR store instruction with hint !nontemporal. e.g., something like:

store <8 x i64> %{{.*}}, <8 x i64>* %{{.*}}, align 64, !nontemporal

Is there a way to generate this in Rust, or do we need add this to the compiler first?

See also:

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