Hi,> > I want to implement a new intrinsic in llvm that will denote a > > parallel section within a function. > > Can you explain what you mean by a parallel section within a function?I want to see how OpenMP's parallel fit in the LLVM architecture, is it easy to implement or not. GCC is too heavy platform to work on.. Ferad -- Ferad Zyulkyarov Barcelona Supercomputing Center
Hi,> >>> I want to implement a new intrinsic in llvm that will denote a > >>> parallel section within a function. > >> Can you explain what you mean by a parallel section within a function? > > I want to see how OpenMP's parallel fit in the LLVM architecture, is > > it easy to implement or not. GCC is too heavy platform to work on.. > > When implemented in LLVM, OpenMP will be supported in a very similiar way > to what GCC does: it will extract out the parallel region (the part that > runs on multiple threads) into a self-contained function.I agree also. But I just noticed that the LLVM internals are much easier to manipulate (ok at least it seems to me). Thanks, Ferad -- Ferad Zyulkyarov Barcelona Supercomputing Center
On Mon, 2 Apr 2007, Ferad Zyulkyarov wrote:>>> I want to implement a new intrinsic in llvm that will denote a >>> parallel section within a function. >> Can you explain what you mean by a parallel section within a function? > I want to see how OpenMP's parallel fit in the LLVM architecture, is > it easy to implement or not. GCC is too heavy platform to work on..When implemented in LLVM, OpenMP will be supported in a very similiar way to what GCC does: it will extract out the parallel region (the part that runs on multiple threads) into a self-contained function. -Chris -- http://nondot.org/sabre/ http://llvm.org/