Gentoo Archives: gentoo-user-de

From: Jan Riedel <lists0407@×××××××××××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] march = native = ??
Date: Sun, 08 Nov 2009 09:36:25
Message-Id: 4AF6910F.5090501@nurfuerspam.de
In Reply to: [gentoo-user-de] march = native = ?? by muellste@math.hu-berlin.de
1 muellste@××××××××××××××.de wrote:
2 > Hallo
3 >
4 > nach vorhergehender Diskussion die Frage: Wie kann man feststellen welche
5 > Flags gcc für 'march=native' auswählt?
6 > Bzw. wird überhaupt eine Auswahl aus den vorhandenen getroffen oder
7 > schaltet 'native' eigene Optimierungen frei?
8 >
9 > mfg stephan
10 >
11 >
12
13 man gcc sagt folgendes:
14
15 native
16 This selects the CPU to tune for at compilation time by determining the
17 processor type of the compiling machine. Using -mtune=native will
18 produce code optimized for the local machine under the constraints of
19 the selected instruction set. Using -march=native will enable all
20 instruction subsets supported by the local machine (hence the result
21 might not run on different machines).
22
23 Gruss,
24 Jan

Replies

Subject Author
Re: [gentoo-user-de] march = native = ?? Jan Riedel <lists0407@×××××××××××.de>