Displaying 1 result from an estimated 1 matches for "memcpy_atomic".
2016 Nov 11
2
RFC: Add atomic versions of the llvm.memcpy, llvm.memmove and llvm.memset intrinsics
...icity for their memory accesses (like Java for example).
In order to overcome this limitation I'm thinking about adding set of intrinsics
which will execute as a series of unordered atomic memory accesses.
To be more specific here is the definition I'm thinking about:
declare void @llvm.memcpy_atomic.p0i8.p0i8.i32(i8* <dest>, i8* <src>, i32 <num_elements>,
i32 <element_size>, i32 <align>, i1 <isvolatile>)
It closelly mimicks original memcpy intrinsic. Only difference is that now we explicitly
specify element_s...