Skip to content

Specifying ordering on atomic instructions #8

@markww

Description

@markww

It would be helpful to have a bit in here describing specifying ordering for atomic instructions. I've looked around, and while I've determined that you can set the rl bit by adding a .rl on an atomic instruction, and the aq bit by adding a .aq, I can't figure out how one requests both. The specification seems to indicate that this is possible in section 7.2:

Setting both aq and rl bits on the LR instruction, and setting the aq bit on the SC instruction makes the LR/SC sequence sequentially consistent with respect to other sequentially consistent atomic
operations.

I've tried the forms lr.d.aq.rl, lr.d.sc, and lr.d.sq (my best guesses for notation) and the assembler complained.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions