This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Always use ll/sc for mips


On Tue, 2 Jul 2002, H. J. Lu wrote:

> > Which means the overhead of two syscalls instead of one sysmips() call
> > for something that is assumed to be dirt cheap.  R3000, R5900 etc.
> > users won't this patch you, which'll have significant impact on their
> > glibc performance.
> 
> Not all ll/sc usages are implemented with sysmips. Does mips care about
> those? In case of libstdc++, should mips use ll/sc emulation?

 Anything external to glibc should use _test_and_set() which is a
published interface. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]