blob: e430dcb2e571d8f5b270282d3df8c66a0f66d43a (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_extension('A');
bool have_reservation = MMU.check_load_reservation(RS1, 4);
if (have_reservation)
MMU.store_uint32(RS1, RS2);
MMU.yield_load_reservation();
WRITE_RD(!have_reservation);
|