On Sun, Jul 31, 2011 at 12:49 PM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote:> I noticed the patch was already merged into the current LLVM language > reference manual with new memory instructions, fence, cmpxchg and > atomicrmw. Will the instructions be available in LLVM 3.0?Hopefully, yes; the implementation is in progress. -Eli
On Sun, Jul 31, 2011 at 7:12 PM, Eli Friedman <eli.friedman at gmail.com> wrote:> On Sun, Jul 31, 2011 at 12:49 PM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: >> I noticed the patch was already merged into the current LLVM language >> reference manual with new memory instructions, fence, cmpxchg and >> atomicrmw. Will the instructions be available in LLVM 3.0? > > Hopefully, yes; the implementation is in progress.Will all the intrinsic functions (http://llvm.org/docs/LangRef.html#int_atomics) eventually be replaced by the new instructions, or there will be two versions of concurrent memory operations left?> > -Eli >-- Jianzhou
On Sun, Jul 31, 2011 at 5:24 PM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote:> On Sun, Jul 31, 2011 at 7:12 PM, Eli Friedman <eli.friedman at gmail.com> wrote: >> On Sun, Jul 31, 2011 at 12:49 PM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: >>> I noticed the patch was already merged into the current LLVM language >>> reference manual with new memory instructions, fence, cmpxchg and >>> atomicrmw. Will the instructions be available in LLVM 3.0? >> >> Hopefully, yes; the implementation is in progress. > > Will all the intrinsic functions > (http://llvm.org/docs/LangRef.html#int_atomics) eventually be replaced > by the new instructions, or there will be two versions of concurrent > memory operations left?Yes, they will be replaced. -Eli