Skip to content

<atomic>: std::atomic should use ARM v8.1 and v8.2 instructions where safe #488

@BillyONeal

Description

@BillyONeal

In the following blog post a user points out that our compiler always uses the load-linked/store-conditional subset of ARM, even on hardware with better solutions.

https://megayuchi.com/2019/12/08/surface-pro-x-benchmark-from-the-programmers-point-of-view/

We should work with our hardware partners to determine in which places we can emit better instructions given a CPU feature test.

I have asked folks who own these parts of the compiler to indicate here which specific intrinsics they want us to call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARM64Related to the ARM64 architectureperformanceMust go faster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions