search for: release_mov

Displaying 1 result from an estimated 1 matches for "release_mov".

Did you mean: release_bo
2014 Aug 05
2
[LLVMdev] Plan to optimize atomics in LLVM
...ister. The main trouble here is that the X86 backend appears to respect LLVM memory model instead of the x86-TSO memory model, and may reorder instructions. In order to prevent illegal reordering of atomic accesses, the backend converts atomic accesses to pseudo-instructions in X86InstrCompiler.td (RELEASE_MOV* and ACQUIRE_MOV*) that are opaque to most of the rest of the backend, and only lowers those at the very end of the pipeline. I have decided to follow the same approach, just adding some more RELEASE_* pseudo-instructions rather than trying to find every possibly misbehaving part of the backend in...