I'm trying to understand memory models of modern CPUs such as ARMv8 etc. One thing that…
- User
I'm trying to understand memory models of modern CPUs such as ARMv8 etc. One thing that I don't quite understand is that ARMv8 has the ldar/stlr instructions, i.e. a load acquire and store release instruction. Are these just regular store instructions combined with a semi-memory fence instruction (i.e. an acquire memory fence and a release memory fence)? Is there any benefit in the CPU "knowing" which memory address is being load/stored?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.