Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1001i*86 | x86_64)1002cpu=$basic_machine1003vendor=pc1004;;1005# These rules are duplicated from below for sake of the special case above;1006# i.e. things that normalized to x86 arches should also default to "pc"1007pc98)1008cpu=i3861009vendor=pc1010;;1011x64 | amd64)1012cpu=x86_641013vendor=pc1014;;1015# Recognize the basic CPU types without company name.1016*)1017cpu=$basic_machine1018vendor=unknown1019;;1020esac1022unset -v basic_machine1024# Decode basic machines in the full and proper CPU-Company form.1025case $cpu-$vendor in1026# Here we handle the default manufacturer of certain CPU types in canonical form.1027# It is in some cases the only manufacturer, in others, it is the most popular.1028c[12]-convex | c[12]-unknown | c3[248]-convex | c3[248]-unknown)1029vendor=convex1030basic_os=${basic_os:-bsd}1031;;1032craynv-unknown)1033vendor=cray1034basic_os=${basic_os:-unicosmp}1035;;1036c90-unknown | c90-cray)1037vendor=cray1038basic_os=${basic_os:-unicos}1039;;1040fx80-unknown)1041vendor=alliant1042;;1043romp-unknown)1044vendor=ibm1045;;1046mmix-unknown)1047vendor=knuth1048;;1049microblaze-unknown | microblazeel-unknown)1050vendor=xilinx1051;;1052rs6000-unknown)1053vendor=ibm1054;;1055vax-unknown)1056vendor=dec1057;;1058pdp11-unknown)1059vendor=dec1060;;1061we32k-unknown)1062vendor=att1063;;1064cydra-unknown)1065vendor=cydrome1066;;1067i370-ibm*)1068vendor=ibm1069;;1070orion-unknown)1071vendor=highlevel1072;;1073xps-unknown | xps100-unknown)1074cpu=xps1001075vendor=honeywell1076;;1078# Here we normalize CPU types with a missing or matching vendor1079armh-unknown | armh-alt)1080cpu=armv7l1081vendor=alt1082basic_os=${basic_os:-linux-gnueabihf}1083;;1085# Normalized CPU+vendor pairs that imply an OS, if not otherwise specified1086m68k-isi)1087basic_os=${basic_os:-sysv}1088;;1089m68k-sony)1090basic_os=${basic_os:-newsos}1091;;1092m68k-tektronix)1093basic_os=${basic_os:-bsd}1094;;1095m88k-harris)1096basic_os=${basic_os:-sysv3}1097;;1098i386-bull | m68k-bull)1099basic_os=${basic_os:-sysv3}1100;;1101rs6000-bull)1102basic_os=${basic_os:-bosx}1103;;1104mips-sni)1105basic_os=${basic_os:-sysv4}1106;;1108# Here we normalize CPU types irrespective of the vendor1109amd64-*)1110cpu=x86_641111;;1112blackfin-*)1113cpu=bfin1114basic_os=${basic_os:-linux}1115;;1116c54x-*)1117cpu=tic54x1118;;1119c55x-*)1120cpu=tic55x1121;;1122c6x-*)1123cpu=tic6x1124;;1125e500v[12]-*)1126cpu=powerpc1127basic_os=${basic_os}"spe"1128;;1129mips3*-*)1130cpu=mips641131;;1132ms1-*)1133cpu=mt1134;;1135m68knommu-*)1136cpu=m68k1137basic_os=${basic_os:-linux}1138;;1139m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)1140cpu=s12z1141;;1142openrisc-*)1143cpu=or321144;;1145parisc-*)1146cpu=hppa1147basic_os=${basic_os:-linux}1148;;1149pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)1150cpu=i5861151;;1152pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*)1153cpu=i6861154;;1155pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)1156cpu=i6861157;;1158pentium4-*)1159cpu=i7861160;;1161ppc-* | ppcbe-*)1162cpu=powerpc1163;;1164ppcle-* | powerpclittle-*)1165cpu=powerpcle1166;;1167ppc64-*)1168cpu=powerpc641169;;1170ppc64le-* | powerpc64little-*)1171cpu=powerpc64le1172;;1173sb1-*)1174cpu=mipsisa64sb11175;;1176sb1el-*)1177cpu=mipsisa64sb1el1178;;1179sh5e[lb]-*)1180cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`1181;;1182spur-*)1183cpu=spur1184;;1185strongarm-* | thumb-*)1186cpu=arm1187;;1188tx39-*)1189cpu=mipstx391190;;1191tx39el-*)1192cpu=mipstx39el1193;;1194xscale-* | xscalee[bl]-*)1195cpu=`echo "$cpu" | sed 's/^xscale/arm/'`1196;;1197arm64-* | aarch64le-* | arm64_32-*)1198cpu=aarch641199;;1201# Recognize the canonical CPU Types that limit and/or modify the1202# company names they are paired with.1203cr16-*)1204basic_os=${basic_os:-elf}1205;;1206crisv32-* | etraxfs*-*)1207cpu=crisv321208vendor=axis1209;;1210cris-* | etrax*-*)1211cpu=cris1212vendor=axis1213;;1214crx-*)1215basic_os=${basic_os:-elf}1216;;1217neo-tandem)1218cpu=neo1219vendor=tandem1220;;1221nse-tandem)1222cpu=nse1223vendor=tandem1224;;1225nsr-tandem)1226cpu=nsr1227vendor=tandem1228;;1229nsv-tandem)1230cpu=nsv1231vendor=tandem1232;;1233nsx-tandem)1234cpu=nsx1235vendor=tandem1236;;1237mipsallegrexel-sony)1238cpu=mipsallegrexel1239vendor=sony1240;;1241tile*-*)1242basic_os=${basic_os:-linux-gnu}1243;;1245*)1246# Recognize the canonical CPU types that are allowed with any1247# company name.1248case $cpu in12491750a \1250| 580 \
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.