Article View: es.comp.os.linux.programacion
Article #17231Re: Plataforma destino de un ejecutable (i386/i486/i586/i686)
From: Gonzalo Paniagua Javier
Date: Fri, 04 Feb 2000 00:00
Date: Fri, 04 Feb 2000 00:00
22 lines
2001 bytes
2001 bytes
rvm <rvm@XXlinuxfan.com> escribi� en es.comp.os.linux.programacion: > `-mcpu=CPU TYPE' > Assume the defaults for the machine type CPU TYPE when scheduling > instructions. The choices for CPU TYPE are: `i386', `i486', > `i586' (`pentium'), `pentium', `i686' (`pentiumpro') and > `pentiumpro'. While picking a specific CPU TYPE will schedule > things appropriately for that particular chip, the compiler will > not generate any code that does not run on the i386 without the > `-march=CPU TYPE' option being used. > `-march=CPU TYPE' > Generate instructions for the machine type CPU TYPE. The choices > for CPU TYPE are: `i386', `i486', `pentium', and `pentiumpro'. > Specifying `-march=CPU TYPE' implies `-mcpu=CPU TYPE'. > Si no he entendido mal con la opci�n mcpu se realizan algunas > optimizaciones, pero el ejecutable sigue funcionando en un 386 (�o no?, > la verdad es que no he entendido bien la frase). Efectivamente. Para que genere (quiz�s) c�digo que no funcione en un 386, hay que usar, por ejemplo, '-march=pentium' (que implica -mcpu=pentium).
Technical Details
Message-ID:
<87e21l$dpi$2@simancas.uva.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<slrn895u85.h5.luname@mantium.luname.net> <blom4.1027$pv3.8943@m2newsread.uni2.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,d80345d35c37adc0
X-Google-Attributes: gidf86c8,public
From: Gonzalo Paniagua Javier <gpanjav@QUITAetsi.tel.uva.esPAM>
Subject: Re: Plataforma destino de un ejecutable (i386/i486/i586/i686)
Date: 2000/02/04
Message-ID: <87e21l$dpi$2@simancas.uva.es>
X-Deja-AN: 581437293
Content-Transfer-Encoding: 8bit
References: <slrn895u85.h5.luname@mantium.luname.net> <blom4.1027$pv3.8943@m2newsread.uni2.es>
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: usenet@news.uva.es
X-Trace: simancas.uva.es 949652341 14130 157.88.129.100 (4 Feb 2000 08:19:01 GMT)
Organization: Universidad de Valladolid - Spain
Mime-Version: 1.0
User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (SunOS/5.6 (sun4u))
NNTP-Posting-Date: 4 Feb 2000 08:19:01 GMT
Newsgroups: es.comp.os.linux.programacion