Gentoo Archives: gentoo-user-br

From: Eduardo Schoedler <eschoedler@×××××××××××.br>
To: gentoo-user-br@l.g.o
Subject: RES: [gentoo-user-br] -march=native sozinho é suficiente?
Date: Wed, 14 Apr 2010 18:56:33
Message-Id: 017001cadc04$2ad0b020$80721060$@com.br
In Reply to: [gentoo-user-br] -march=native sozinho é suficiente? by "João Matos"
1 http://gcc.gnu.org/onlinedocs/gcc-4.4.3/gcc/i386-and-x86_002d64-Options.html
2 #i386-and-x86_002d64-Options
3
4
5
6 native
7
8 This selects the CPU to tune for at compilation time by determining the
9 processor type of the compiling machine. Using -mtune=native will produce
10 code optimized for the local machine under the constraints of the selected
11 instruction set. Using -march=native will enable all instruction subsets
12 supported by the local machine (hence the result might not run on different
13 machines).
14
15
16
17
18
19 Sds,
20
21
22
23 --
24
25 Eduardo Schoedler
26
27
28
29
30
31 De: João Matos [mailto:jaoneto@×××××.com]
32 Enviada em: quarta-feira, 14 de abril de 2010 14:51
33 Para: gentoo-user-br
34 Assunto: [gentoo-user-br] -march=native sozinho é suficiente?
35
36
37
38 Prezados,
39
40 Navegando net encontrei um make.conf comentado, que não sei até que ponto
41 está atualizado e é confiável, que afirmava que o -march=native não inclue o
42 -msse4.1. Isso procede? há alguma boa razão pra isso?
43
44 http://dev.gentoo.org/~dberkholz/make.conf.t61
45
46 --
47 João de Matos
48 Linux User #461527
49 Graduando em Engenharia de Computação 2005.1
50 UEFS - Universidade Estadual de Feira de Santana