Displaying 2 results from an estimated 2 matches for "atomic_f".
Did you mean:
  atomic_t
  
2008 Jul 15
0
[LLVMdev] addrspace attribute and intrisics
...In the case of a default consistency model memory fences are not
required but, in general, this is no longer the case for the relaxed
model and C++ provides a family of fence operations, one per type of
atomic (i.e. bool, address, and integral types); the bool fence
operation is declared as:
	void atomic_fence( const volatile atomic_bool*, memory_order );
One interesting point is that C++0x defines fences for operations and
not just load and stores. I am not completely sure of the implications
with respect to mapping to LLVM but note that this is relaxed a little
by providing per-variable fence oper...
2008 Jul 15
2
[LLVMdev] addrspace attribute and intrisics
Hi Ben,
Vacation is always a good thing.  Hope you had a good one.
In my mind, having a more general memory consistency model is going to  
be very useful in LLVM in the future.  It is still a little unclear to  
me what we should support.   I haven't looked at what C++ is  
considering for their model.  Are they going to support different  
relaxations models like relaxing write to read or