APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS














(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Best of the Newsgroups: compiler optimizing


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: Robert Heller <heller@deepsoft.com>
Subject: Re: what do i386 and i686 refer to?
References: <jimkkREMOVE-A7C786.12522526052003@visonmassif.rs.itd.umich.edu> <pan.2003.05.26.17.21.12.321709@bd-home-comp.no-ip.org> <slrnbd4pjo.ilg.mattdm@jadzia.bu.edu,<jimkkREMOVE-54252C.18552926052003@visonmassif.rs.itd.umich.edu>> 
Date: Mon, 26 May 2003 23:55:59 +0000

  Jim Kroger <jimkkREMOVE@THISumich.edu.invalid>,
  In a message on Mon, 26 May 2003 18:55:29 -0400, wrote :

JK> Nobody has yet said what i386 and i686 refer to.
JK> 
JK> Is it the cpu?  What is an architecture?



CPUs are defined by their architecture.  The architecture defines things
like the instruction set and so on.

i386 means any processor that is based on the 80386 processor, which is
the first true 32-bit processor of the x86 family, which started with
the 8086 and 8088 (the processor in the first IBM-PC), and then moved up
to the 80286 (in the IBM PS/2 and PC/AT boxes). And then to the 80386.

i486 refers to the 80486, which is a 'marriage' of an 80386 and 80387
(FPU), with some other enhancements (double and quad clocking, on chip
cache, etc.).

i586 refers to the 80586 (aka Pentium), a more advanced version.

i686 refers to the 80686 (aka PII, PIII, and P4), still more advanced.

Most of the time, if you have an x86 machine (typical 'IBM-PC' type
machine), you want the i386 binaries.  i486 RPMs are rare and don't
have much advantage over i386.  i586 only make sense on true Pentiums
and are actually *worse* then i386 on PII and up (it has to do with
instruction scheduling weirdnesses on the old Pentiums).



There are only a few places where optimizing beyond the i386 is sensible
-- typically the kernel itself and glibc.

Sometimes you will see 'noarch' as the RPM's architecture -- this means
that the RPM contains no actual binary code.  Instead the RPM contains
processor independent data files (such as extra data for GIMP or an
empty database tree for a database or fonts for ghostscript or X11).

'src' as the architecture means that the RPM contains only source code,
and needs to be (re-)built to be installed (to be useful).

OH, there are RPMs for other sorts of CPUs, like .ppc.rpm -- these are
PowerPC RPMs (for Macintosh's running Linux) or .s390.rpm for IBM
System/390 processors (IBM big mainframe systems) or .sparc.rpm for SUN
Microsystems's Sparc processors, etc.

JK>  
JK> Thanks 
JK> Jim 
JK>  
JK> --  
JK> A list of jazz guitar instruction websites: 
JK> www-personal.umich.edu/~jimkk/jazzfast.html
JK>  
JK> rseegmoarjk 
JK>  
JK>                                          






                                         




Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



/Bofcusm/2104.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.



More:
       - OSR5
       - Bofcusm


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress