Lines 745-870
Link Here
|
745 |
# x86 and compatible |
745 |
# x86 and compatible |
746 |
flags('gcc', 'OPTIONS', ['<architecture>x86/<address-model>32'], ['-m32']) |
746 |
flags('gcc', 'OPTIONS', ['<architecture>x86/<address-model>32'], ['-m32']) |
747 |
flags('gcc', 'OPTIONS', ['<architecture>x86/<address-model>64'], ['-m64']) |
747 |
flags('gcc', 'OPTIONS', ['<architecture>x86/<address-model>64'], ['-m64']) |
748 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'native', ['-march=native']) |
|
|
749 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'i486', ['-march=i486']) |
750 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'i586', ['-march=i586']) |
751 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'i686', ['-march=i686'], default=True) |
752 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium', ['-march=pentium']) |
753 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium-mmx', ['-march=pentium-mmx']) |
754 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentiumpro', ['-march=pentiumpro']) |
755 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium2', ['-march=pentium2']) |
756 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium3', ['-march=pentium3']) |
757 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium3m', ['-march=pentium3m']) |
758 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium-m', ['-march=pentium-m']) |
759 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium4', ['-march=pentium4']) |
760 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'pentium4m', ['-march=pentium4m']) |
761 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'prescott', ['-march=prescott']) |
762 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'nocona', ['-march=nocona']) |
763 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'core2', ['-march=core2']) |
764 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'conroe', ['-march=core2']) |
765 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'conroe-xe', ['-march=core2']) |
766 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'conroe-l', ['-march=core2']) |
767 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'allendale', ['-march=core2']) |
768 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'wolfdale', ['-march=core2', '-msse4.1']) |
769 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'merom', ['-march=core2']) |
770 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'merom-xe', ['-march=core2']) |
771 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'kentsfield', ['-march=core2']) |
772 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'kentsfield-xe', ['-march=core2']) |
773 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'yorksfield', ['-march=core2']) |
774 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'penryn', ['-march=core2']) |
775 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'corei7', ['-march=corei7']) |
776 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'nehalem', ['-march=corei7']) |
777 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'corei7-avx', ['-march=corei7-avx']) |
778 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'sandy-bridge', ['-march=corei7-avx']) |
779 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'core-avx-i', ['-march=core-avx-i']) |
780 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'ivy-bridge', ['-march=core-avx-i']) |
781 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'haswell', ['-march=core-avx-i', '-mavx2', '-mfma', '-mbmi', '-mbmi2', '-mlzcnt']) |
782 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'k6', ['-march=k6']) |
783 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'k6-2', ['-march=k6-2']) |
784 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'k6-3', ['-march=k6-3']) |
785 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon', ['-march=athlon']) |
786 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon-tbird', ['-march=athlon-tbird']) |
787 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon-4', ['-march=athlon-4']) |
788 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon-xp', ['-march=athlon-xp']) |
789 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon-mp', ['-march=athlon-mp']) |
790 |
## |
748 |
## |
791 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'k8', ['-march=k8']) |
|
|
792 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'opteron', ['-march=opteron']) |
793 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon64', ['-march=athlon64']) |
794 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon-fx', ['-march=athlon-fx']) |
795 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'k8-sse3', ['-march=k8-sse3']) |
796 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'opteron-sse3', ['-march=opteron-sse3']) |
797 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'athlon64-sse3', ['-march=athlon64-sse3']) |
798 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'amdfam10', ['-march=amdfam10']) |
799 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'barcelona', ['-march=barcelona']) |
800 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'bdver1', ['-march=bdver1']) |
801 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'bdver2', ['-march=bdver2']) |
802 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'bdver3', ['-march=bdver3']) |
803 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'btver1', ['-march=btver1']) |
804 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'btver2', ['-march=btver2']) |
805 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'winchip-c6', ['-march=winchip-c6']) |
806 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'winchip2', ['-march=winchip2']) |
807 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'c3', ['-march=c3']) |
808 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'c3-2', ['-march=c3-2']) |
809 |
## |
749 |
## |
810 |
cpu_flags('gcc', 'OPTIONS', 'x86', 'atom', ['-march=atom']) |
|
|
811 |
# Sparc |
750 |
# Sparc |
812 |
flags('gcc', 'OPTIONS', ['<architecture>sparc/<address-model>32'], ['-m32']) |
751 |
flags('gcc', 'OPTIONS', ['<architecture>sparc/<address-model>32'], ['-m32']) |
813 |
flags('gcc', 'OPTIONS', ['<architecture>sparc/<address-model>64'], ['-m64']) |
752 |
flags('gcc', 'OPTIONS', ['<architecture>sparc/<address-model>64'], ['-m64']) |
814 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'v7', ['-mcpu=v7'], default=True) |
|
|
815 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'cypress', ['-mcpu=cypress']) |
816 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'v8', ['-mcpu=v8']) |
817 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'supersparc', ['-mcpu=supersparc']) |
818 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'sparclite', ['-mcpu=sparclite']) |
819 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'hypersparc', ['-mcpu=hypersparc']) |
820 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'sparclite86x', ['-mcpu=sparclite86x']) |
821 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'f930', ['-mcpu=f930']) |
822 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'f934', ['-mcpu=f934']) |
823 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'sparclet', ['-mcpu=sparclet']) |
824 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'tsc701', ['-mcpu=tsc701']) |
825 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'v9', ['-mcpu=v9']) |
826 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'ultrasparc', ['-mcpu=ultrasparc']) |
827 |
cpu_flags('gcc', 'OPTIONS', 'sparc', 'ultrasparc3', ['-mcpu=ultrasparc3']) |
828 |
# RS/6000 & PowerPC |
753 |
# RS/6000 & PowerPC |
829 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>32'], ['-m32']) |
754 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>32'], ['-m32']) |
830 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>64'], ['-m64']) |
755 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>64'], ['-m64']) |
831 |
cpu_flags('gcc', 'OPTIONS', 'power', '403', ['-mcpu=403']) |
|
|
832 |
cpu_flags('gcc', 'OPTIONS', 'power', '505', ['-mcpu=505']) |
833 |
cpu_flags('gcc', 'OPTIONS', 'power', '601', ['-mcpu=601']) |
834 |
cpu_flags('gcc', 'OPTIONS', 'power', '602', ['-mcpu=602']) |
835 |
cpu_flags('gcc', 'OPTIONS', 'power', '603', ['-mcpu=603']) |
836 |
cpu_flags('gcc', 'OPTIONS', 'power', '603e', ['-mcpu=603e']) |
837 |
cpu_flags('gcc', 'OPTIONS', 'power', '604', ['-mcpu=604']) |
838 |
cpu_flags('gcc', 'OPTIONS', 'power', '604e', ['-mcpu=604e']) |
839 |
cpu_flags('gcc', 'OPTIONS', 'power', '620', ['-mcpu=620']) |
840 |
cpu_flags('gcc', 'OPTIONS', 'power', '630', ['-mcpu=630']) |
841 |
cpu_flags('gcc', 'OPTIONS', 'power', '740', ['-mcpu=740']) |
842 |
cpu_flags('gcc', 'OPTIONS', 'power', '7400', ['-mcpu=7400']) |
843 |
cpu_flags('gcc', 'OPTIONS', 'power', '7450', ['-mcpu=7450']) |
844 |
cpu_flags('gcc', 'OPTIONS', 'power', '750', ['-mcpu=750']) |
845 |
cpu_flags('gcc', 'OPTIONS', 'power', '801', ['-mcpu=801']) |
846 |
cpu_flags('gcc', 'OPTIONS', 'power', '821', ['-mcpu=821']) |
847 |
cpu_flags('gcc', 'OPTIONS', 'power', '823', ['-mcpu=823']) |
848 |
cpu_flags('gcc', 'OPTIONS', 'power', '860', ['-mcpu=860']) |
849 |
cpu_flags('gcc', 'OPTIONS', 'power', '970', ['-mcpu=970']) |
850 |
cpu_flags('gcc', 'OPTIONS', 'power', '8540', ['-mcpu=8540']) |
851 |
cpu_flags('gcc', 'OPTIONS', 'power', 'power', ['-mcpu=power']) |
852 |
cpu_flags('gcc', 'OPTIONS', 'power', 'power2', ['-mcpu=power2']) |
853 |
cpu_flags('gcc', 'OPTIONS', 'power', 'power3', ['-mcpu=power3']) |
854 |
cpu_flags('gcc', 'OPTIONS', 'power', 'power4', ['-mcpu=power4']) |
855 |
cpu_flags('gcc', 'OPTIONS', 'power', 'power5', ['-mcpu=power5']) |
856 |
cpu_flags('gcc', 'OPTIONS', 'power', 'powerpc', ['-mcpu=powerpc']) |
857 |
cpu_flags('gcc', 'OPTIONS', 'power', 'powerpc64', ['-mcpu=powerpc64']) |
858 |
cpu_flags('gcc', 'OPTIONS', 'power', 'rios', ['-mcpu=rios']) |
859 |
cpu_flags('gcc', 'OPTIONS', 'power', 'rios1', ['-mcpu=rios1']) |
860 |
cpu_flags('gcc', 'OPTIONS', 'power', 'rios2', ['-mcpu=rios2']) |
861 |
cpu_flags('gcc', 'OPTIONS', 'power', 'rsc', ['-mcpu=rsc']) |
862 |
cpu_flags('gcc', 'OPTIONS', 'power', 'rs64a', ['-mcpu=rs64']) |
863 |
cpu_flags('gcc', 'OPTIONS', 's390x', 'z196', ['-march=z196']) |
864 |
cpu_flags('gcc', 'OPTIONS', 's390x', 'zEC12', ['-march=zEC12']) |
865 |
cpu_flags('gcc', 'OPTIONS', 's390x', 'z13', ['-march=z13']) |
866 |
cpu_flags('gcc', 'OPTIONS', 's390x', 'z14', ['-march=z14']) |
867 |
cpu_flags('gcc', 'OPTIONS', 's390x', 'z15', ['-march=z15']) |
868 |
# AIX variant of RS/6000 & PowerPC |
756 |
# AIX variant of RS/6000 & PowerPC |
869 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>32/<target-os>aix'], ['-maix32']) |
757 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>32/<target-os>aix'], ['-maix32']) |
870 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>64/<target-os>aix'], ['-maix64']) |
758 |
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>64/<target-os>aix'], ['-maix64']) |