Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Mathieu Desnoyers
Please forget about my last email : #define PPC_STLCX stringify_in_c(stdcx.) and #define PPC_STLCX stringify_in_c(stwcx.) are self explaining. :) Mathieu * Kumar Gala ([EMAIL PROTECTED]) wrote: > > On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: > > >* Kumar Gala ([EMAIL

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Kumar Gala
On Feb 15, 2007, at 3:23 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL PROTECTED]) wrote: On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL PROTECTED]) wrote: is there a reason this isn't local_add_return(long a, local_t *l) on ppc32? (same comment for

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Mathieu Desnoyers
* Kumar Gala ([EMAIL PROTECTED]) wrote: > > On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: > > >* Kumar Gala ([EMAIL PROTECTED]) wrote: > >>is there a reason this isn't local_add_return(long a, local_t *l) on > >>ppc32? > >> > >>(same comment for other functions) > >> > >>- k > > > >no,

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Kumar Gala
On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL PROTECTED]) wrote: is there a reason this isn't local_add_return(long a, local_t *l) on ppc32? (same comment for other functions) - k no, except that we use the code is taken from atomic.h and used an int

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Mathieu Desnoyers
* Kumar Gala ([EMAIL PROTECTED]) wrote: > is there a reason this isn't local_add_return(long a, local_t *l) on > ppc32? > > (same comment for other functions) > > - k no, except that we use the code is taken from atomic.h and used an int parameter. However, due to the semantics of local_t, we

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Mathieu Desnoyers
* Kumar Gala ([EMAIL PROTECTED]) wrote: is there a reason this isn't local_add_return(long a, local_t *l) on ppc32? (same comment for other functions) - k no, except that we use the code is taken from atomic.h and used an int parameter. However, due to the semantics of local_t, we

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Kumar Gala
On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL PROTECTED]) wrote: is there a reason this isn't local_add_return(long a, local_t *l) on ppc32? (same comment for other functions) - k no, except that we use the code is taken from atomic.h and used an int

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Mathieu Desnoyers
* Kumar Gala ([EMAIL PROTECTED]) wrote: On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL PROTECTED]) wrote: is there a reason this isn't local_add_return(long a, local_t *l) on ppc32? (same comment for other functions) - k no, except that we use the code

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Kumar Gala
On Feb 15, 2007, at 3:23 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL PROTECTED]) wrote: On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL PROTECTED]) wrote: is there a reason this isn't local_add_return(long a, local_t *l) on ppc32? (same comment for

Re: [PATCH] local_t : powerpc extension - use long for powerpc32

2007-02-15 Thread Mathieu Desnoyers
Please forget about my last email : #define PPC_STLCX stringify_in_c(stdcx.) and #define PPC_STLCX stringify_in_c(stwcx.) are self explaining. :) Mathieu * Kumar Gala ([EMAIL PROTECTED]) wrote: On Feb 15, 2007, at 2:02 PM, Mathieu Desnoyers wrote: * Kumar Gala ([EMAIL