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

Re: cpu feature dependencies? (was: Re: Migration to Pentium?)



On Tue, Jan 23, 2001 at 08:50:43PM +0100, Samuel Hocevar wrote:
>    I think this should rather be handled either by dlopen()ing the right
> shared object containing optimized code, or by using the libc's own way
> of handling it. Adding an extra package and CPU dependencies would lead
> to all sorts of issues when changing the host's CPU, for instance.

The problem here is that the speed gained by cpu-specific
optimizations could easily get canceled by the overhead of using -fPIC
when compiling.

-- 
Michel "Walken" LESPINASSE
Of course I think I'm right. If I thought I was wrong, I'd change my mind.



Reply to: