Port-m68k archive

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

Re: is __insn_barrier() needed in _splraise()



On Wed, 6 May 2009, Manuel Bouyer wrote:

m68k ports has an inline splhigh (_splraise() 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 ?

Looking at a disassembly of kern_softint.o for the amiga indicates that it is needed. The second check of sh_flags after the splhigh() is missing.

Note: the vax also appears to need this, again based on disassembly of kern_softint.o.

--
Michael L. Hitch                        mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University        Bozeman, MT     USA


Home | Main Index | Thread Index | Old Index