Re: [Gc]: libatomic-ops patch for Renesas SH

Ivan Maidanski ivmai at
Fri Oct 2 00:39:50 PDT 2009


Nobuhiro Iwamatsu <iwamatsu at> wrote:
> Hi, all.
> I am now trying to run linux on Renesas SH CPU(sh4).
> Because I am porting new architecture(sh4) to Debian GNU/Linux.
> Current  libatomic-ops does not support this CPU.
> I port to this, and do BTS to Debian BTS of libatomic-ops.
> Can you have comment?

Two things to refine:
- copyright (Hans, what's your opinion? is it ok?);
- AO_test_and_set_full should return values within AO_TS_VAL_t type (i.e., AO_TS_CLEAR(0) and AO_TS_SET(0xff) instead of 0 and 0x80).

> If without a problem, would you apply this?

Yes, if the above things would be solved somehow.

> I got comment from Hans about this patch.
> 2009/10/2 Boehm, Hans <hans.boehm at>:
> > I don't see a problem with the patch.  Could you post it to gc at so others also get a chance to look at it?  You can add my comment if you like.
> >
> > Thanks.
> >
> > Hans
> Best regards,
>   Nobuhiro


More information about the Gc mailing list