Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

riscvarchive/riscv-zacas

Repository files navigation

Note

Atomic compare-and-swap (Zacas) has been merged into the Unprivileged Specification. Please log any issues against the RISC-V ISA Manual repository.

RISC-V Atomic compare-and-swap (CAS) instructions

The Zacas extension adds support for amocas.w, amocas.d, and amocas.q instructions to perform atomic Compare-and-Swap (CAS) operations.

License

This work is licensed under a Creative Commons Attribution 4.0 International License (CC-BY-4.0). See the LICENSE file for details.

Contributors

Contributors to this specification are contained in the contributors file.

For instructions on how to contribute please see the CONTRIBUTING file.

Dependencies

To build the document, you’ll need the following tools installed on your system:

  Make
  asciiDoctor-pdf, asciidoctor-bibtex, asciidoctor-diagram and asciidoctor-mathematical
  Docker

Cloning and Building the Document

This project uses submodules to include the RISC-V documentation toolchain.

  git clone --recurse-submodule https://github.com/riscv/riscv-zacas.git
  cd ./riscv-zacas.git
  make VERSION=v1.0.0 REVMARK=Draft

VERSION: Represents the version of the specification being built. By default, this is set to 'v0.0.0'. You can change this to a different value, like 'v1.0.0', 'v1.1.0', etc., based on the current version of your specification.

REVMARK: This represents a revision marker for the project. Its default value is 'Draft'. You may want to change this to something like 'Release', 'Stable' or 'Ratified'.