This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Alpha hwcaps
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Cc: Richard Henderson <rth at twiddle dot net>, Andreas Schwab <schwab at suse dot de>, libc-alpha at sources dot redhat dot com
- Date: Wed, 3 Mar 2004 07:42:50 +0100
- Subject: Re: [PATCH] Alpha hwcaps
- References: <m37jy6wbvy.fsf@gromit.moeb> <871xoejg35.fsf@student.uni-tuebingen.de> <jek726t34s.fsf@sykes.suse.de> <87ishp7q1r.fsf@student.uni-tuebingen.de> <jeoerhn29q.fsf@sykes.suse.de> <87ad314q8f.fsf@student.uni-tuebingen.de> <20040302231019.GA10360@twiddle.net> <87ishmsuj4.fsf@student.uni-tuebingen.de> <20040303014431.GA10991@twiddle.net> <87vflmgxll.fsf@student.uni-tuebingen.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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