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 |