On Tue, Mar 28, 2000 at 04:21:56PM -0800, Kanoj Sarcar wrote:
> Doesn't it also partly depend on the setting of the MF_FIXADE flag?
No, because the fixup thing done by the exception handler cannot give
the same atomicity guarantees as the silicon, so for ll, sc, lld and scd
we always send SIGBUS right away. For all other instructions we do the
emulation thing if MF_FIXADE is set, otherwise also send SIGBUS.
> Anyway, this is not expected behavior, so I am downgrading usage of
> most lld/scd calls to ll/sc unless I can guarantee they are operating
> on a 8 byte quantity (which will be dword aligned by definition). I
> will checks that in once I test it, I have asked Ulf to see whether
> it will help him get to miltiuser too.
The bitfield operations are supposed to only be used on objects that
are of type long or are arrays of longs. So it seems you want to fix
things in the wrong direction?
Ralf
|