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] Alpha hwcaps


On Wed, Mar 03, 2004 at 09:10:14AM +0100, Falk Hueffner wrote:
> Richard Henderson <rth@twiddle.net> writes:
> 
> > On Wed, Mar 03, 2004 at 12:23:27AM +0100, Falk Hueffner wrote:
> > > OTOH, I will then have to
> > > use strcmp to find the correct strlenpair table entry, so it won't
> > > really be much easier.
> > 
> > Huh?  You don't have to do *anything*.  It's already handled by
> > common code.
> 
> But the common code looks only at a single platform. I would for
> example want to have a fallback from ev67 to ev6 if there's no ev67
> version, and then to ev56 and so on.

Then use symlinks.
What search path does ld.so with your patch use with say
LD_LIBRARY_PATH=/usr/lib (LD_DEBUG=all will write it in the beginning)?
On i686, the search path is already too long:
search path=/usr/lib/tls/i686/mmx:/usr/lib/tls/i686:/usr/lib/tls/mmx:/usr/lib/tls:/usr/lib/i686/mmx:/usr/lib/i686:/usr/lib/mmx:/usr/lib

> > How many libraries do you expect to use MAX insns?
> 
> Not a lot. However, if one had the fallback model, there would be no
> harm in adding it.

Except for the runtime cost...

	Jakub


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