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

[RFC libitm] Port to SH

2011-12-16 Thread Kaz Kojima
Hi, The attached patch is to port libitm to SH. It's a updated one of the patch in http://gcc.gnu.org/ml/gcc-patches/2011-11/msg02382.html The patch is tested with "make -k check" and the result is === libitm Summary === # of expected passes23 # of expected failures