Port-alpha archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: is __insn_barrier() needed in alpha_pal_swpipl ?

On Wed, May 06, 2009 at 11:47:40AM -0600, Michael L. Hitch wrote:
> On Wed, 6 May 2009, Manuel Bouyer wrote:
> >alpha has an inline splhigh (alpha_pal_swpipl() really); and I couldn't
> >determine if the assembly in this function is a barrier for
> >the compiler, or if a __insn_barrier() is needed here. Can someone
> >confirms it ?
>   I looked at a disassembly of kern_softintr.o, and it appears that it's 
> not needed for alpha (the second check of sh_flags is present after the
> splhigh()).

thanks. I tried to look at the disassembly, but couldn't make much sense
of it :)

Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index