/netbsd-src/external/gpl3/gcc/dist/gcc/common/config/i386/ |
H A D | cpuinfo.h | 56 has_cpu_feature (struct __processor_model *cpu_model, in has_cpu_feature() argument 66 return cpu_model->__cpu_features[0] & (1U << f); in has_cpu_feature() 80 set_cpu_feature (struct __processor_model *cpu_model, in set_cpu_feature() argument 90 cpu_model->__cpu_features[0] |= (1U << f); in set_cpu_feature() 107 get_amd_cpu (struct __processor_model *cpu_model, in get_amd_cpu() argument 120 cpu_model->__cpu_type = AMDFAM10H; in get_amd_cpu() 127 cpu_model->__cpu_subtype = AMDFAM10H_BARCELONA; in get_amd_cpu() 133 cpu_model->__cpu_subtype = AMDFAM10H_SHANGHAI; in get_amd_cpu() 139 cpu_model->__cpu_subtype = AMDFAM10H_ISTANBUL; in get_amd_cpu() 149 cpu_model->__cpu_type = AMD_BTVER1; in get_amd_cpu() [all …]
|
/netbsd-src/usr.sbin/sysinst/arch/atari/ |
H A D | md.c | 139 char *cpu_model; in md_post_newfs() local 147 cpu_model = malloc(len); in md_post_newfs() 148 sysctl(mib, 2, cpu_model, &len, NULL, 0); in md_post_newfs() 150 if (strstr(cpu_model, "Milan") != NULL) in md_post_newfs() 152 free(cpu_model); in md_post_newfs()
|
/netbsd-src/usr.sbin/sysinst/arch/evbarm/ |
H A D | md.c | 62 char *cpu_model; in md_init() local 65 cpu_model = malloc(len); in md_init() 66 sysctl(mib, 2, cpu_model, &len, NULL, 0); in md_init() 68 if (strstr(cpu_model, RPI_MODEL_STR) != NULL) in md_init() 71 else if (strstr(cpu_model, SBSA_MODEL_STR) != NULL) in md_init() 78 free(cpu_model); in md_init()
|
/netbsd-src/sys/compat/common/ |
H A D | kern_info_43.c | 140 char *cpu_model; member 254 const char *cpu_model = cpu_getmodel(); in compat_43_sys_getkerninfo() local 259 strlen(ostype) + strlen(cpu_model) + in compat_43_sys_getkerninfo() 275 COPY(cpu_model); in compat_43_sys_getkerninfo()
|
/netbsd-src/sys/kern/ |
H A D | subr_cpu.c | 93 static char cpu_model[128]; variable 122 len = vsnprintf(cpu_model, sizeof(cpu_model), fmt, ap); in cpu_setmodel() 130 return cpu_model; in cpu_getmodel()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/ |
H A D | driver-i386.cc | 421 struct __processor_model cpu_model = { }; in host_detect_local_cpu() local 425 if (cpu_indicator_init (&cpu_model, &cpu_model2, cpu_features2) != 0) in host_detect_local_cpu() 428 vendor = cpu_model.__cpu_vendor; in host_detect_local_cpu() 451 has_cpu_feature (&cpu_model, cpu_features2, f) in host_detect_local_cpu() 571 cpu = get_intel_cpu (&cpu_model, &cpu_model2, cpu_features2); in host_detect_local_cpu()
|
/netbsd-src/sys/arch/hpc/include/ |
H A D | platid.h | 61 unsigned int cpu_model :PLATID_CPU_MODEL_BITS; member
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | pef.h | 166 unsigned long cpu_model; member
|
H A D | pef.c | 1093 header->cpu_model = bfd_getb32 (buf + 60); in bfd_pef_xlib_read_header()
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/common/ |
H A D | hwc_cpus.h | 30 int cpu_model; member
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | pef.h | 166 unsigned long cpu_model; member
|
H A D | pef.c | 1092 header->cpu_model = bfd_getb32 (buf + 60); in bfd_pef_xlib_read_header()
|
/netbsd-src/sys/arch/hpc/hpc/ |
H A D | platid.c | 108 PLATID_MATCH(cpu_model); in platid_match_sub()
|
H A D | platid_test.c | 64 pid.s.cpu_model = ~0; in platid_bit_test()
|
/netbsd-src/external/gpl3/gdb/dist/sim/ppc/ |
H A D | powerpc.igen | 95 ppc_insn_int_cr(MY_INDEX, cpu_model(processor), OUT_MASK, IN_MASK, 1 << 0); \ 97 ppc_insn_int(MY_INDEX, cpu_model(processor), OUT_MASK, IN_MASK); \ 104 ppc_insn_int_cr(MY_INDEX, cpu_model(processor), OUT_MASK, IN_MASK, CR_MASK); \ 110 ppc_insn_cr(MY_INDEX, cpu_model(processor), OUT_MASK, IN_MASK); \ 117 ppc_insn_float(MY_INDEX, cpu_model(processor), OUT_MASK, IN_MASK); \ 119 ppc_insn_float_cr(MY_INDEX, cpu_model(processor), OUT_MASK, IN_MASK, 1 << 0); \ 126 ppc_insn_float_cr(MY_INDEX, cpu_model(processor), OUT_MASK, IN_MASK, CR_MASK); \ 132 …ppc_insn_int_float(MY_INDEX, cpu_model(processor), OUT_INT_MASK, OUT_FP_MASK, IN_INT_MASK, IN_FP_M… 138 ppc_insn_from_spr(MY_INDEX, cpu_model(processor), INT_MASK, SPR); \ 144 ppc_insn_to_spr(MY_INDEX, cpu_model(processor), INT_MASK, SPR); \ [all …]
|
H A D | cpu.c | 151 cpu_model(cpu *processor) in cpu_model() function
|
H A D | ChangeLog-2021 | 5530 * cpu.h (cpu_model): Add declaration. 5534 (cpu_model): Return the model internal pointer.
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/compiler-rt/lib/builtins/ |
H A D | BUILD.gn | 224 "cpu_model.c", 433 "cpu_model.c",
|
/netbsd-src/sys/arch/aarch64/aarch64/ |
H A D | aarch64_machdep.c | 86 char cpu_model[32]; variable
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | collctrl.cc | 126 cpu_info.cpu_model = read_int (temp + 5); in read_cpuinfo() 130 cpu_info.cpu_model = read_int (temp + 16); in read_cpuinfo()
|
/netbsd-src/sys/arch/acorn32/doc/ |
H A D | history | 304 - cpu_model now declared in mainbus/cpu.c
|