Spike, a RISC-V ISA Simulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

6 lines
143 B

require_extension(EXT_ZALRSC);
require_rv64;
bool have_reservation = MMU.store_conditional<uint64_t>(RS1, RS2);
WRITE_RD(!have_reservation);