Comments (2)
Hi @DehengYang. I do not know about specific behaviour guarantee for this RISCV.
However, generally speaking, store conditional may fail for just any reason. Here is a naive scenario:
The running thread is scheduled out just after the load-reserve instruction has been executed. In such a case, the reservation is likely to be cancelled.
The scenario is naive. If (1) the store conditional instruction immediately follows the load reserve instruction and (2) that the reserved memory it is certain not to be accessed that any other thread, then it may be the case that the store conditional will always succeed. Yet, I doubt that official documentation would say that. Moreover, would it be the case, I am not sure we would implement such a particular case.
Hope it helps.
from herdtools7.
Hi @maranget ,
Thank you so much for the detailed explanation and analysis that perfectly solves my confusion.
Many thanks and wish you a great week!
Yours sincerely,
Deheng
from herdtools7.
Related Issues (20)
- Is GPU_PTX still supported? HOT 2
- ASL: ASL v0 implicit declarations must be hoisted to highest legal scope HOT 2
- ROR shift type implementation HOT 8
- herd7 on a litmus test with a loop never terminates (expected?) HOT 3
- [gen] oneloc tests with wrong post condition HOT 2
- herd7 cant recognize the general register of RISCV in standard litmus file HOT 2
- [Litmus] Test ISA-DEP-WR-ADDR failed in Litmus 7.56.3. HOT 8
- [ASL] Remove LDUninitialisedTuple
- [Raspbian] Building with "make all" crashes on RPi 4 HOT 3
- [ASL] global variables and function clashing HOT 1
- Escape characters not working in string literals
- [herd] No fault on crossing memtag granularity HOT 1
- Are the verification conditions unique in the tests generated by diyone7? HOT 5
- Add support for BPF Architecture HOT 10
- [herd] SVE Vector ADD instruction does not operate element-wise HOT 3
- Implementation of atomic_add_unless
- [ASL] Semantics of throw statement HOT 2
- diyone7 Fatal error:failed:Observer HOT 1
- [diy7] C code generation HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from herdtools7.