Cilk Library

2013-10-02 Thread Iyer, Balaji V
Dear steering committee, To support the _Cilk_spawn, and _Cilk_sync implementation in GCC (patch submitted link: http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00859.html), we need to add a foreign library (Cilk Runtime Library) into the gcc repository. With this email, I am attaching the

Re: Cilk Library

2013-10-02 Thread Jeff Law
On 10/02/13 13:40, Iyer, Balaji V wrote: Dear steering committee, To support the _Cilk_spawn, and _Cilk_sync implementation in GCC (patch submitted link: http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00859.html), we need to add a foreign library (Cilk Runtime Library) into the gcc repository. With

Re: Cilk Library

2013-10-08 Thread Jeff Law
On 10/02/13 13:40, Iyer, Balaji V wrote: Dear steering committee, To support the _Cilk_spawn, and _Cilk_sync implementation in GCC (patch submitted link: http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00859.html), we need to add a foreign library (Cilk Runtime Library) into the gcc repository. With

RE: Cilk Library

2013-10-09 Thread Iyer, Balaji V
Dear Jeff and the rest of Steering committee members, Thank you very much for approving the license terms of the Cilk Library. I couldn't attach the zipped copy of the patch due to its size, so here is a link to the Cilk library patch that can be applied to the trunk: (

RE: Cilk Library

2013-10-09 Thread Joseph S. Myers
Some observations: * Various source files include x86-specific asm. At some point it will need restructuring so that the architecture-specific parts go in architecture-specific files and it's clear what to do to add support for another architecture. * Given that architecture dependency, the t

Re: Cilk Library

2013-10-10 Thread Aldy Hernandez
On 10/09/13 13:32, Iyer, Balaji V wrote: Is it OK for trunk? I would prefer that a consumer of this library be in place before you commit. That is, until cilk_spawn/sync/etc go in.

RE: Cilk Library

2013-10-10 Thread Iyer, Balaji V
> -Original Message- > From: Aldy Hernandez [mailto:al...@redhat.com] > Sent: Thursday, October 10, 2013 9:19 AM > To: Iyer, Balaji V > Cc: Jeff Law; gcc@gcc.gnu.org; r...@redhat.com; Jason Merrill > (ja...@redhat.com) > Subject: Re: Cilk Library > > On 10/

Re: Cilk Library

2013-10-15 Thread Jeff Law
On 10/09/13 12:32, Iyer, Balaji V wrote: Dear Jeff and the rest of Steering committee members, Thank you very much for approving the license terms of the Cilk Library. I couldn't attach the zipped copy of the patch due to its size, so here is a link to the Cilk library patch that c

Re: Cilk Library

2013-10-16 Thread Richard Biener
On Tue, Oct 15, 2013 at 10:14 PM, Jeff Law wrote: > On 10/09/13 12:32, Iyer, Balaji V wrote: >> >> Dear Jeff and the rest of Steering committee members, >> Thank you very much for approving the license terms of the Cilk >> Library. I couldn't attach the zip

RE: Cilk Library

2013-10-16 Thread Iyer, Balaji V
dhat.com; Jason Merrill > (ja...@redhat.com) > Subject: Re: Cilk Library > > On 10/09/13 12:32, Iyer, Balaji V wrote: > > Dear Jeff and the rest of Steering committee members, > > Thank you very much for approving the license terms of the Cilk > > Library. I &

Re: Cilk Library

2013-10-22 Thread Jeff Law
On 10/16/13 13:30, Iyer, Balaji V wrote: First, the all issues Joseph mentioned need to be addressed. So first, you need to ensure it's only being built on x86/x86_64 given the asms and bring together some documentation as to what's needed to port the runtime system to other architectures. Clo

RE: Cilk Library

2013-10-23 Thread Iyer, Balaji V
> -Original Message- > From: Jeff Law [mailto:l...@redhat.com] > Sent: Wednesday, October 23, 2013 1:15 AM > To: Iyer, Balaji V; gcc@gcc.gnu.org > Cc: Aldy Hernandez (al...@redhat.com); r...@redhat.com; Jason Merrill > (ja...@redhat.com) > Subject: Re: Cilk Library &

RE: Cilk Library

2013-10-23 Thread Iyer, Balaji V
g > Cc: Aldy Hernandez (al...@redhat.com); r...@redhat.com; Jason Merrill > (ja...@redhat.com) > Subject: Re: Cilk Library > > On 10/16/13 13:30, Iyer, Balaji V wrote: > >> First, the all issues Joseph mentioned need to be addressed. So > >> first, you need to ens

RE: Cilk Library

2013-10-23 Thread Joseph S. Myers
On Wed, 23 Oct 2013, Iyer, Balaji V wrote: > Hi Jeff et al., > Here is a link to the updated patch > (https://docs.google.com/file/d/0BzEpbbnrYKsSbVY2X3ZLUnd4OXM/edit?usp=sharing). > > We have fixed all the issues that Joseph pointed out in > http://gcc.gnu.org/ml/gcc/2013-10/msg00090.ht

Re: Cilk Library

2013-10-23 Thread Jeff Law
On 10/23/13 14:22, Joseph S. Myers wrote: On Wed, 23 Oct 2013, Iyer, Balaji V wrote: Hi Jeff et al., Here is a link to the updated patch (https://docs.google.com/file/d/0BzEpbbnrYKsSbVY2X3ZLUnd4OXM/edit?usp=sharing). We have fixed all the issues that Joseph pointed out in http://gcc.gnu

RE: Cilk Library

2013-10-24 Thread Iyer, Balaji V
(ja...@redhat.com) > Subject: Re: Cilk Library > > On 10/23/13 14:22, Joseph S. Myers wrote: > > On Wed, 23 Oct 2013, Iyer, Balaji V wrote: > > > >> Hi Jeff et al., > >>Here is a link to the updated patch > >> > (https://docs.google.com/file/d/

Re: Cilk Library

2013-10-24 Thread Richard Henderson
On 10/23/2013 12:30 PM, Iyer, Balaji V wrote: > Hi Jeff et al., > Here is a link to the updated patch > (https://docs.google.com/file/d/0BzEpbbnrYKsSbVY2X3ZLUnd4OXM/edit?usp=sharing). > We have fixed all the issues that Joseph pointed out in > http://gcc.gnu.org/ml/gcc/2013-10/msg00090.htm

RE: Cilk Library

2013-10-24 Thread Iyer, Balaji V
> Sent: Thursday, October 24, 2013 12:15 PM > To: Iyer, Balaji V; Jeff Law; gcc@gcc.gnu.org > Cc: Aldy Hernandez (al...@redhat.com); Jason Merrill (ja...@redhat.com); > Joseph S. Myers > Subject: Re: Cilk Library > > On 10/23/2013 12:30 PM, Iyer, Balaji V wrote: > > Hi Jeff

Re: Cilk Library

2013-10-24 Thread Richard Henderson
cpp:59 >> ../../../git-master/libcilkrts/runtime/scheduler.c:74:0: > > To compile Cilk Library (libcilkrts), the compiler must have _Cilk_spawn and > _Cilk_sync support. For this patch, I have defined (please see Makefile.am > under GENERAL_FLAGS) the cilk-keywords to NULL to ma

Help with using multilib for Cilk Library

2013-07-19 Thread Iyer, Balaji V
Hello Everyone, I am trying to use Multilib on Cilk Library. I looked at this website (http://www.airs.com/ian/configure/configure_8.html) and used libsanitizer and libgo as samples to model after. It is currently failing with the following error message: libtool: link: /export/users

Re: Help with using multilib for Cilk Library

2013-07-19 Thread Ian Lance Taylor
On Fri, Jul 19, 2013 at 11:22 AM, Iyer, Balaji V wrote: > Hello Everyone, > I am trying to use Multilib on Cilk Library. I looked at this website > (http://www.airs.com/ian/configure/configure_8.html) and used libsanitizer > and libgo as samples to model after. It is curre

RE: Help with using multilib for Cilk Library

2013-07-19 Thread Iyer, Balaji V
> -Original Message- > From: Ian Lance Taylor [mailto:i...@google.com] > Sent: Friday, July 19, 2013 6:26 PM > To: Iyer, Balaji V > Cc: gcc@gcc.gnu.org > Subject: Re: Help with using multilib for Cilk Library > > On Fri, Jul 19, 2013 at 11:22 AM, Iyer, Balaj

Re: Help with using multilib for Cilk Library

2013-07-19 Thread H.J. Lu
On Fri, Jul 19, 2013 at 3:53 PM, Iyer, Balaji V wrote: > > >> -Original Message- >> From: Ian Lance Taylor [mailto:i...@google.com] >> Sent: Friday, July 19, 2013 6:26 PM >> To: Iyer, Balaji V >> Cc: gcc@gcc.gnu.org >> Subject: Re: Help with us

Re: Help with using multilib for Cilk Library

2013-07-19 Thread Ian Lance Taylor
On Fri, Jul 19, 2013 at 3:53 PM, Iyer, Balaji V wrote: > > >> -Original Message- >> From: Ian Lance Taylor [mailto:i...@google.com] >> Sent: Friday, July 19, 2013 6:26 PM >> To: Iyer, Balaji V >> Cc: gcc@gcc.gnu.org >> Subject: Re: Help with us

RE: Help with using multilib for Cilk Library

2013-07-22 Thread Iyer, Balaji V
> -Original Message- > From: H.J. Lu [mailto:hjl.to...@gmail.com] > Sent: Friday, July 19, 2013 6:56 PM > To: Iyer, Balaji V > Cc: Ian Lance Taylor; gcc@gcc.gnu.org > Subject: Re: Help with using multilib for Cilk Library > > On Fri, Jul 19, 2013 at 3:53 PM,

Re: Help with using multilib for Cilk Library

2013-07-22 Thread H.J. Lu
On Mon, Jul 22, 2013 at 9:27 AM, Iyer, Balaji V wrote: > > >> -Original Message- >> From: H.J. Lu [mailto:hjl.to...@gmail.com] >> Sent: Friday, July 19, 2013 6:56 PM >> To: Iyer, Balaji V >> Cc: Ian Lance Taylor; gcc@gcc.gnu.org >> Subject: Re:

RE: Help with using multilib for Cilk Library

2013-07-23 Thread Iyer, Balaji V
> -Original Message- > From: H.J. Lu [mailto:hjl.to...@gmail.com] > Sent: Monday, July 22, 2013 5:08 PM > To: Iyer, Balaji V > Cc: Ian Lance Taylor; gcc@gcc.gnu.org > Subject: Re: Help with using multilib for Cilk Library > > On Mon, Jul 22, 2013 at 9:27 AM,

Re: Help with using multilib for Cilk Library

2013-07-23 Thread H.J. Lu
On Tue, Jul 23, 2013 at 9:33 AM, Iyer, Balaji V wrote: >> Here is a patch: >> >> 1. Add target dependency on C++ for parallel build. >> 2. Remove hardcoded -O3 -fpic. libtool takes care of it. >> 3. Work around MAKEFLAGS for multilib build. >> > > Hi H.J., > Thank you! This patch got rid o

RE: Help with using multilib for Cilk Library

2013-07-23 Thread Iyer, Balaji V
> -Original Message- > From: H.J. Lu [mailto:hjl.to...@gmail.com] > Sent: Tuesday, July 23, 2013 1:04 PM > To: Iyer, Balaji V > Cc: Ian Lance Taylor; gcc@gcc.gnu.org > Subject: Re: Help with using multilib for Cilk Library > > On Tue, Jul 23, 2013 at 9:33 AM,