Re: [RFC libitm] Port to SH

2011-12-16 Thread Kaz Kojima
Richard Henderson wrote: > Ok except, > >> +static inline void >> +atomic_read_barrier (void) >> +{ >> + __sync_synchronize (); >> +} >> + >> +static inline void >> +atomic_write_barrier (void) >> +{ >> + __sync_synchronize (); >> +} > > We no longer use these since the library has been convert

Re: [RFC libitm] Port to SH

2011-12-16 Thread Richard Henderson
On 12/16/2011 03:05 PM, Kaz Kojima wrote: > * configure.tgt: Add sh* case. > * config/sh/target.h: New file. > * config/sh/sjlj.S: New file. > * config/linux/sh/futex_bits.h: New file. Ok except, > +static inline void > +atomic_read_barrier (void) > +{ > + __sync_synchron