Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 719928
Collapse All | Expand All

(-)a/tools/gcc.jam (-120 lines)
Lines 1202-1330 Link Here
1202
# x86 and compatible
1202
# x86 and compatible
1203
# The 'native' option appeared in gcc 4.2 so we cannot safely use it as default.
1203
# The 'native' option appeared in gcc 4.2 so we cannot safely use it as default.
1204
# Use i686 instead for 32-bit.
1204
# Use i686 instead for 32-bit.
1205
toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : -march=i686 ;
1206
cpu-flags gcc OPTIONS : x86 : native : -march=native ;
1207
cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ;
1208
cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ;
1209
cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ;
1210
cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ;
1211
cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ;
1212
cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ;
1213
cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ;
1214
cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ;
1215
cpu-flags gcc OPTIONS : x86 : pentium3m : -march=pentium3m ;
1216
cpu-flags gcc OPTIONS : x86 : pentium-m : -march=pentium-m ;
1217
cpu-flags gcc OPTIONS : x86 : pentium4 : -march=pentium4 ;
1218
cpu-flags gcc OPTIONS : x86 : pentium4m : -march=pentium4m ;
1219
cpu-flags gcc OPTIONS : x86 : prescott : -march=prescott ;
1220
cpu-flags gcc OPTIONS : x86 : nocona : -march=nocona ;
1221
cpu-flags gcc OPTIONS : x86 : core2 : -march=core2 ;
1222
cpu-flags gcc OPTIONS : x86 : conroe : -march=core2 ;
1223
cpu-flags gcc OPTIONS : x86 : conroe-xe : -march=core2 ;
1224
cpu-flags gcc OPTIONS : x86 : conroe-l : -march=core2 ;
1225
cpu-flags gcc OPTIONS : x86 : allendale : -march=core2 ;
1226
cpu-flags gcc OPTIONS : x86 : wolfdale : -march=core2 -msse4.1 ;
1227
cpu-flags gcc OPTIONS : x86 : merom : -march=core2 ;
1228
cpu-flags gcc OPTIONS : x86 : merom-xe : -march=core2 ;
1229
cpu-flags gcc OPTIONS : x86 : kentsfield : -march=core2 ;
1230
cpu-flags gcc OPTIONS : x86 : kentsfield-xe : -march=core2 ;
1231
cpu-flags gcc OPTIONS : x86 : yorksfield : -march=core2 ;
1232
cpu-flags gcc OPTIONS : x86 : penryn : -march=core2 ;
1233
cpu-flags gcc OPTIONS : x86 : corei7 : -march=corei7 ;
1234
cpu-flags gcc OPTIONS : x86 : nehalem : -march=corei7 ;
1235
cpu-flags gcc OPTIONS : x86 : corei7-avx : -march=corei7-avx ;
1236
cpu-flags gcc OPTIONS : x86 : sandy-bridge : -march=corei7-avx ;
1237
cpu-flags gcc OPTIONS : x86 : core-avx-i : -march=core-avx-i ;
1238
cpu-flags gcc OPTIONS : x86 : ivy-bridge : -march=core-avx-i ;
1239
cpu-flags gcc OPTIONS : x86 : haswell : -march=core-avx-i -mavx2 -mfma -mbmi -mbmi2 -mlzcnt ;
1240
cpu-flags gcc OPTIONS : x86 : broadwell : -march=broadwell ;
1241
cpu-flags gcc OPTIONS : x86 : skylake : -march=skylake ;
1242
cpu-flags gcc OPTIONS : x86 : skylake-avx512 : -march=skylake-avx512 ;
1243
cpu-flags gcc OPTIONS : x86 : cannonlake : -march=skylake-avx512 -mavx512vbmi -mavx512ifma -msha ;
1244
cpu-flags gcc OPTIONS : x86 : icelake : -march=icelake ;
1245
cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ;
1246
cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ;
1247
cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ;
1248
cpu-flags gcc OPTIONS : x86 : athlon : -march=athlon ;
1249
cpu-flags gcc OPTIONS : x86 : athlon-tbird : -march=athlon-tbird ;
1250
cpu-flags gcc OPTIONS : x86 : athlon-4 : -march=athlon-4 ;
1251
cpu-flags gcc OPTIONS : x86 : athlon-xp : -march=athlon-xp ;
1252
cpu-flags gcc OPTIONS : x86 : athlon-mp : -march=athlon-mp ;
1253
##
1205
##
1254
cpu-flags gcc OPTIONS : x86 : k8 : -march=k8 ;
1255
cpu-flags gcc OPTIONS : x86 : opteron : -march=opteron ;
1256
cpu-flags gcc OPTIONS : x86 : athlon64 : -march=athlon64 ;
1257
cpu-flags gcc OPTIONS : x86 : athlon-fx : -march=athlon-fx ;
1258
cpu-flags gcc OPTIONS : x86 : k8-sse3 : -march=k8-sse3 ;
1259
cpu-flags gcc OPTIONS : x86 : opteron-sse3 : -march=opteron-sse3 ;
1260
cpu-flags gcc OPTIONS : x86 : athlon64-sse3 : -march=athlon64-sse3 ;
1261
cpu-flags gcc OPTIONS : x86 : amdfam10 : -march=amdfam10 ;
1262
cpu-flags gcc OPTIONS : x86 : barcelona : -march=barcelona ;
1263
cpu-flags gcc OPTIONS : x86 : bdver1 : -march=bdver1 ;
1264
cpu-flags gcc OPTIONS : x86 : bdver2 : -march=bdver2 ;
1265
cpu-flags gcc OPTIONS : x86 : bdver3 : -march=bdver3 ;
1266
cpu-flags gcc OPTIONS : x86 : bdver4 : -march=bdver4 ;
1267
cpu-flags gcc OPTIONS : x86 : btver1 : -march=btver1 ;
1268
cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ;
1269
cpu-flags gcc OPTIONS : x86 : znver1 : -march=znver1 ;
1270
cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ;
1271
cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ;
1272
cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ;
1273
cpu-flags gcc OPTIONS : x86 : c3-2 : -march=c3-2 ;
1274
##
1206
##
1275
cpu-flags gcc OPTIONS : x86 : atom : -march=atom ;
1276
# Sparc
1207
# Sparc
1277
cpu-flags gcc OPTIONS : sparc : v7 : -mcpu=v7 : default ;
1278
cpu-flags gcc OPTIONS : sparc : cypress : -mcpu=cypress ;
1279
cpu-flags gcc OPTIONS : sparc : v8 : -mcpu=v8 ;
1280
cpu-flags gcc OPTIONS : sparc : supersparc : -mcpu=supersparc ;
1281
cpu-flags gcc OPTIONS : sparc : sparclite : -mcpu=sparclite ;
1282
cpu-flags gcc OPTIONS : sparc : hypersparc : -mcpu=hypersparc ;
1283
cpu-flags gcc OPTIONS : sparc : sparclite86x : -mcpu=sparclite86x ;
1284
cpu-flags gcc OPTIONS : sparc : f930 : -mcpu=f930 ;
1285
cpu-flags gcc OPTIONS : sparc : f934 : -mcpu=f934 ;
1286
cpu-flags gcc OPTIONS : sparc : sparclet : -mcpu=sparclet ;
1287
cpu-flags gcc OPTIONS : sparc : tsc701 : -mcpu=tsc701 ;
1288
cpu-flags gcc OPTIONS : sparc : v9 : -mcpu=v9 ;
1289
cpu-flags gcc OPTIONS : sparc : ultrasparc : -mcpu=ultrasparc ;
1290
cpu-flags gcc OPTIONS : sparc : ultrasparc3 : -mcpu=ultrasparc3 ;
1291
# RS/6000 & PowerPC
1208
# RS/6000 & PowerPC
1292
cpu-flags gcc OPTIONS : power : 403 : -mcpu=403 ;
1293
cpu-flags gcc OPTIONS : power : 505 : -mcpu=505 ;
1294
cpu-flags gcc OPTIONS : power : 601 : -mcpu=601 ;
1295
cpu-flags gcc OPTIONS : power : 602 : -mcpu=602 ;
1296
cpu-flags gcc OPTIONS : power : 603 : -mcpu=603 ;
1297
cpu-flags gcc OPTIONS : power : 603e : -mcpu=603e ;
1298
cpu-flags gcc OPTIONS : power : 604 : -mcpu=604 ;
1299
cpu-flags gcc OPTIONS : power : 604e : -mcpu=604e ;
1300
cpu-flags gcc OPTIONS : power : 620 : -mcpu=620 ;
1301
cpu-flags gcc OPTIONS : power : 630 : -mcpu=630 ;
1302
cpu-flags gcc OPTIONS : power : 740 : -mcpu=740 ;
1303
cpu-flags gcc OPTIONS : power : 7400 : -mcpu=7400 ;
1304
cpu-flags gcc OPTIONS : power : 7450 : -mcpu=7450 ;
1305
cpu-flags gcc OPTIONS : power : 750 : -mcpu=750 ;
1306
cpu-flags gcc OPTIONS : power : 801 : -mcpu=801 ;
1307
cpu-flags gcc OPTIONS : power : 821 : -mcpu=821 ;
1308
cpu-flags gcc OPTIONS : power : 823 : -mcpu=823 ;
1309
cpu-flags gcc OPTIONS : power : 860 : -mcpu=860 ;
1310
cpu-flags gcc OPTIONS : power : 970 : -mcpu=970 ;
1311
cpu-flags gcc OPTIONS : power : 8540 : -mcpu=8540 ;
1312
cpu-flags gcc OPTIONS : power : power : -mcpu=power ;
1313
cpu-flags gcc OPTIONS : power : power2 : -mcpu=power2 ;
1314
cpu-flags gcc OPTIONS : power : power3 : -mcpu=power3 ;
1315
cpu-flags gcc OPTIONS : power : power4 : -mcpu=power4 ;
1316
cpu-flags gcc OPTIONS : power : power5 : -mcpu=power5 ;
1317
cpu-flags gcc OPTIONS : power : powerpc : -mcpu=powerpc ;
1318
cpu-flags gcc OPTIONS : power : powerpc64 : -mcpu=powerpc64 ;
1319
cpu-flags gcc OPTIONS : power : rios : -mcpu=rios ;
1320
cpu-flags gcc OPTIONS : power : rios1 : -mcpu=rios1 ;
1321
cpu-flags gcc OPTIONS : power : rios2 : -mcpu=rios2 ;
1322
cpu-flags gcc OPTIONS : power : rsc : -mcpu=rsc ;
1323
cpu-flags gcc OPTIONS : power : rs64a : -mcpu=rs64 ;
1324
cpu-flags gcc OPTIONS : s390x : z196 : -march=z196 ;
1325
cpu-flags gcc OPTIONS : s390x : zEC12 : -march=zEC12 ;
1326
cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ;
1327
cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ;
1328
cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ;
1329
# AIX variant of RS/6000 & PowerPC
1209
# AIX variant of RS/6000 & PowerPC
1330
toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
1210
toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
(-)a/tools/gcc.py (-112 lines)
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'])

Return to bug 719928