Skip to content

Support mitigations that are normally done automatically by compilers in assembly #2479

Open
@briansmith

Description

@briansmith

Rust is adding a -Zharden-sls mitigation for straight-line speculation; see rust-lang/rust#136597.

This raises the question of what to about our external assembly code. Should we expect the assembler to inject these mitigations? If so, which versions of which assemblers will?

Should we modify (ideally upstream) the (Perl)asm source to insert these mitigations? If so, we should coordinate with them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions