Byte and Halfword Atomic Memory Operations
Type: unprivileged
Zaamo
| Version | State | Ratified |
|---|---|---|
| 1.0.0 | ratified | 2024-04 |
Adds byte and halfword atomic memory operations to the RISC-V Unprivileged ISA.
amoadd.b — Atomic fetch-and-add byteamoadd.b.aq — Atomic fetch-and-add byte (acquire)amoadd.b.aqrl — Atomic fetch-and-add byte (acquire-release)amoadd.b.rl — Atomic fetch-and-add byte (release)amoadd.h — Atomic fetch-and-add halfwordamoadd.h.aq — Atomic fetch-and-add halfword (acquire)amoadd.h.aqrl — Atomic fetch-and-add halfword (acquire-release)amoadd.h.rl — Atomic fetch-and-add halfword (release)amoand.b — Atomic fetch-and-and byteamoand.b.aq — Atomic fetch-and-and byte (acquire)amoand.b.aqrl — Atomic fetch-and-and byte (acquire-release)amoand.b.rl — Atomic fetch-and-and byte (release)amoand.h — Atomic fetch-and-and halfwordamoand.h.aq — Atomic fetch-and-and halfword (acquire)amoand.h.aqrl — Atomic fetch-and-and halfword (acquire-release)amoand.h.rl — Atomic fetch-and-and halfword (release)amocas.b — Atomic compare-and-swap byteamocas.b.aq — Atomic compare-and-swap byte (acquire)amocas.b.aqrl — Atomic compare-and-swap byte (acquire-release)amocas.b.rl — Atomic compare-and-swap byte (release)amocas.h — Atomic compare-and-swap halfwordamocas.h.aq — Atomic compare-and-swap halfword (acquire)amocas.h.aqrl — Atomic compare-and-swap halfword (acquire-release)amocas.h.rl — Atomic compare-and-swap halfword (release)amomax.b — Atomic MAX byteamomax.b.aq — Atomic MAX byte (acquire)amomax.b.aqrl — Atomic MAX byte (acquire-release)amomax.b.rl — Atomic MAX byte (release)amomax.h — Atomic MAX halfwordamomax.h.aq — Atomic MAX halfword (acquire)amomax.h.aqrl — Atomic MAX halfword (acquire-release)amomax.h.rl — Atomic MAX halfword (release)amomaxu.b — Atomic MAX unsigned byteamomaxu.b.aq — Atomic MAX unsigned byte (acquire)amomaxu.b.aqrl — Atomic MAX unsigned byte (acquire-release)amomaxu.b.rl — Atomic MAX unsigned byte (release)amomaxu.h — Atomic MAX unsigned halfwordamomaxu.h.aq — Atomic MAX unsigned halfword (acquire)amomaxu.h.aqrl — Atomic MAX unsigned halfword (acquire-release)amomaxu.h.rl — Atomic MAX unsigned halfword (release)amomin.b — Atomic MIN byteamomin.b.aq — Atomic MIN byte (acquire)amomin.b.aqrl — Atomic MIN byte (acquire-release)amomin.b.rl — Atomic MIN byte (release)amomin.h — Atomic MIN halfwordamomin.h.aq — Atomic MIN halfword (acquire)amomin.h.aqrl — Atomic MIN halfword (acquire-release)amomin.h.rl — Atomic MIN halfword (release)amominu.b — Atomic MIN unsigned byteamominu.b.aq — Atomic MIN unsigned byte (acquire)amominu.b.aqrl — Atomic MIN unsigned byte (acquire-release)amominu.b.rl — Atomic MIN unsigned byte (release)amominu.h — Atomic MIN unsigned halfwordamominu.h.aq — Atomic MIN unsigned halfword (acquire)amominu.h.aqrl — Atomic MIN unsigned halfword (acquire-release)amominu.h.rl — Atomic MIN unsigned halfword (release)amoor.b — Atomic fetch-and-or byteamoor.b.aq — Atomic fetch-and-or byte (acquire)amoor.b.aqrl — Atomic fetch-and-or byte (acquire-release)amoor.b.rl — Atomic fetch-and-or byte (release)amoor.h — Atomic fetch-and-or halfwordamoor.h.aq — Atomic fetch-and-or halfword (acquire)amoor.h.aqrl — Atomic fetch-and-or halfword (acquire-release)amoor.h.rl — Atomic fetch-and-or halfword (release)amoswap.b — Atomic SWAP byteamoswap.b.aq — Atomic SWAP byte (acquire)amoswap.b.aqrl — Atomic SWAP byte (acquire-release)amoswap.b.rl — Atomic SWAP byte (release)amoswap.h — Atomic SWAP halfwordamoswap.h.aq — Atomic SWAP halfword (acquire)amoswap.h.aqrl — Atomic SWAP halfword (acquire-release)amoswap.h.rl — Atomic SWAP halfword (release)amoxor.b — Atomic fetch-and-xor byteamoxor.b.aq — Atomic fetch-and-xor byte (acquire)amoxor.b.aqrl — Atomic fetch-and-xor byte (acquire-release)amoxor.b.rl — Atomic fetch-and-xor byte (release)amoxor.h — Atomic fetch-and-xor halfwordamoxor.h.aq — Atomic fetch-and-xor halfword (acquire)amoxor.h.aqrl — Atomic fetch-and-xor halfword (acquire-release)amoxor.h.rl — Atomic fetch-and-xor halfword (release)Version af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.