Re: subarchitectures (was Re: What to do with optimization flags ? )
On Tue, Dec 05, 2000 at 12:57:32PM -0500, Camm Maguire wrote:
>
> Greetings! I'm having similar issues with the latest atlas. Where
> can I find out a list of the allowed subdirectories under /usr/lib,
> and what cpu's those directories cover? Specifically, is the Athlon a
> 686? Is a PII a 686? I assume a PIII is a 686. All three of these
> would have separate atlas libs, as would the K6, whicn I'm guessing
> counts as a 586, but is different atlas-wise from a pentium.
There are several CPU class subdirectories, and they are:
i386, i486, i586, i686
There are also extra CPU capabilities flags, which are subdirectories
aswell, and they are defined in glibc as:
static const char x86_cap_flags[][7] =
{
"fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
"cx8", "apic", "10", "sep", "mtrr", "pge", "mca", "cmov",
"pat", "pse36", "psn", "19", "20", "21", "22", "mmx",
"osfxsr", "xmm", "26", "27", "28", "29", "30", "amd3d"
};
These coincide with some compiler flags. You can see "amd3d" and "mmx" are
easily identified. I do not know what the rest are. SO you could do
something like:
/lib/mmx/
/lib/i686/amd3d/
/lib/i686/apic/
Have at it :)
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: