Lines Matching refs:CPU
230 # covers most systems running today. This code pipes the CPU
231 # types through head -n 1, so we only detect the type of CPU 0.
517 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
624 long cpu = sysconf (_SC_CPU_VERSION);
626 switch (cpu)
684 long cpu = sysconf (_SC_CPU_VERSION);
688 if (CPU_IS_PA_RISC (cpu))
690 switch (cpu)
698 else if (CPU_IS_HP_MC68K (cpu))
872 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
939 #undef CPU
943 CPU=${UNAME_MACHINE}el
946 CPU=${UNAME_MACHINE}
948 CPU=
952 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
953 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
965 # Look for CPU level
966 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in