/external/tensorflow/tensorflow/core/platform/ |
D | cpu_info.cc | 56 CPUIDInfo *cpuid = nullptr; variable 113 CHECK(cpuid == nullptr) << __func__ << " ran more than once"; in Initialize() 114 cpuid = new CPUIDInfo; in Initialize() 120 cpuid->vendor_str_.append(reinterpret_cast<char *>(&ebx), 4); in Initialize() 121 cpuid->vendor_str_.append(reinterpret_cast<char *>(&edx), 4); in Initialize() 122 cpuid->vendor_str_.append(reinterpret_cast<char *>(&ecx), 4); in Initialize() 130 cpuid->model_num_ = static_cast<int>((eax >> 4) & 0xf); in Initialize() 131 cpuid->family_ = static_cast<int>((eax >> 8) & 0xf); in Initialize() 133 cpuid->have_aes_ = (ecx >> 25) & 0x1; in Initialize() 134 cpuid->have_cmov_ = (edx >> 15) & 0x1; in Initialize() [all …]
|
/external/autotest/client/tests/ltp/patches/ |
D | cpuid.patch | 4 Subject: [PATCH] cpuid: add common header 6 Add a helper function for people to execute the cpuid asm code. 33 +static inline void cpuid(unsigned int info, unsigned int *eax, unsigned int *ebx, 40 + "cpuid;" 71 -inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx) 76 - __asm__("cpuid" 93 cpuid(1,&eax,&ebx,&ecx,&edx); 112 -inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx) 117 - __asm__("cpuid" 134 cpuid(1,&eax,&ebx,&ecx,&edx); [all …]
|
/external/libvpx/libvpx/vpx_ports/ |
D | x86.h | 47 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 52 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 63 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 72 #define cpuid(func, func2, ax, bx, cx, dx) \ macro 84 #define cpuid(func, func2, a, b, c, d) \ macro 94 #define cpuid(func, func2, a, b, c, d) \ macro 105 #define cpuid(func, func2, a, b, c, d) \ macro 106 __asm mov eax, func __asm mov ecx, func2 __asm cpuid __asm mov a, \ 184 cpuid(0, 0, max_cpuid_val, reg_ebx, reg_ecx, reg_edx); in x86_simd_caps() 189 cpuid(1, 0, reg_eax, reg_ebx, reg_ecx, reg_edx); in x86_simd_caps() [all …]
|
/external/swiftshader/src/Common/ |
D | CPUID.cpp | 165 static void cpuid(int registers[4], int info) in cpuid() function 184 cpuid(registers, 1); in detectMMX() 191 cpuid(registers, 1); in detectCMOV() 198 cpuid(registers, 1); in detectSSE() 205 cpuid(registers, 1); in detectSSE2() 212 cpuid(registers, 1); in detectSSE3() 219 cpuid(registers, 1); in detectSSSE3() 226 cpuid(registers, 1); in detectSSE4_1()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_x86_gcc.cc | 48 #define cpuid(a, b, c, d, inp) \ macro 54 #define cpuid(a, b, c, d, inp) \ macro 61 #if defined(cpuid) // initialize the struct only on x86 85 cpuid(eax, ebx, ecx, edx, 0); in AtomicOps_Internalx86CPUFeaturesInit() 93 cpuid(eax, ebx, ecx, edx, 1); in AtomicOps_Internalx86CPUFeaturesInit()
|
/external/dtc/tests/ |
D | boot-cpuid.c | 32 uint32_t cpuid; in main() local 40 cpuid = strtoul(argv[2], NULL, 0); in main() 42 if (fdt_boot_cpuid_phys(fdt) != cpuid) in main() 44 fdt_boot_cpuid_phys(fdt), cpuid); in main()
|
/external/ltp/testcases/realtime/func/matrix_mult/ |
D | matrix_mult.c | 151 int cpuid; in set_affinity() local 160 cpuid = online_cpu_id; /* Save this value before unlocking mutex */ in set_affinity() 162 return cpuid; in set_affinity() 173 int cpuid; in concurrent_thread() local 177 cpuid = set_affinity(); in concurrent_thread() 178 if (cpuid == -1) { in concurrent_thread() 197 int cpuid; in main_thread() local 215 cpuid = set_affinity(); in main_thread() 216 if (cpuid == -1) { in main_thread()
|
/external/valgrind/coregrind/ |
D | m_cpuid.S | 74 .globl VG_(cpuid) 75 VG_(cpuid): 85 cpuid 116 .globl VG_(cpuid) 117 VG_(cpuid): 131 cpuid
|
D | m_cache.c | 129 VG_(cpuid)(1, 0, &cpuid1_eax, &cpuid1_ignore, in Intel_cache_info() 134 VG_(cpuid)(2, 0, (UInt*)&info[0], (UInt*)&info[4], in Intel_cache_info() 291 VG_(cpuid)(4, j++, (UInt*)&info[0], (UInt*)&info[4], in Intel_cache_info() 346 VG_(cpuid)(4, j++, (UInt*)&info[0], (UInt*)&info[4], in Intel_cache_info() 418 VG_(cpuid)(0x80000000, 0, &ext_level, &dummy, &dummy, &dummy); in AMD_cache_info() 426 VG_(cpuid)(0x80000005, 0, &dummy, &dummy, &D1i, &I1i); in AMD_cache_info() 427 VG_(cpuid)(0x80000006, 0, &dummy, &dummy, &L2i, &L3i); in AMD_cache_info() 429 VG_(cpuid)(0x1, 0, &model, &dummy, &dummy, &dummy); in AMD_cache_info() 492 VG_(cpuid)(0, 0, &level, (UInt*)&vendor_id[0], in get_caches_from_CPUID()
|
/external/syslinux/gpxe/src/arch/i386/core/ |
D | cpu.c | 55 cpuid ( 0x00000000, &cpuid_level, &discard_1, in get_cpuinfo() 58 cpuid ( 0x00000001, &discard_1, &discard_2, in get_cpuinfo() 65 cpuid ( 0x80000000, &cpuid_extlevel, &discard_1, in get_cpuinfo() 69 cpuid ( 0x80000001, &discard_1, &discard_2, in get_cpuinfo()
|
/external/syslinux/com32/include/sys/x86_64/ |
D | cpu.h | 37 static inline void cpuid(uint32_t op, in cpuid() function 53 cpuid(op, &eax, &ebx, &ecx, &edx); in cpuid_eax() 62 cpuid(op, &eax, &ebx, &ecx, &edx); in cpuid_ebx() 71 cpuid(op, &eax, &ebx, &ecx, &edx); in cpuid_ecx() 80 cpuid(op, &eax, &ebx, &ecx, &edx); in cpuid_edx()
|
/external/libyuv/files/ |
D | linux.mk | 63 all: libyuv.a convert cpuid psnr 79 cpuid: util/cpuid.c libyuv.a 80 $(CC) $(CFLAGS) -o $@ util/cpuid.c libyuv.a 83 /bin/rm -f source/*.o *.ii *.s libyuv.a convert cpuid psnr
|
/external/fio/arch/ |
D | arch-x86-common.h | 6 static inline void cpuid(unsigned int op, in cpuid() function 51 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in arch_init_amd() 55 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in arch_init_amd() 66 cpuid(0, &level, (unsigned int *) &str[0], in arch_init()
|
/external/libopus/celt/x86/ |
D | x86cpu.c | 47 static _inline void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) in cpuid() function 58 static void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) in cpuid() function 104 cpuid(info, 0); in opus_cpu_feature_check() 108 cpuid(info, 1); in opus_cpu_feature_check()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_cpu_detect.c | 183 cpuid(uint32_t ax, uint32_t *p) in cpuid() function 347 cpuid(0x00000000, regs); in util_cpu_detect() 352 cpuid (0x00000001, regs2); in util_cpu_detect() 396 cpuid(0x00000007, regs3); in util_cpu_detect() 413 cpuid(0x80000000, regs); in util_cpu_detect() 417 cpuid(0x80000001, regs2); in util_cpu_detect() 431 cpuid(0x80000006, regs2); in util_cpu_detect()
|
/external/ltp/testcases/kernel/controllers/cpuset/ |
D | cpuset_funcs.sh | 239 local cpuid= 240 for cpuid in $cpus_array 242 local file="/sys/devices/system/cpu/cpu$cpuid/online" 245 cpu_hotplug $cpuid "online"
|
/external/valgrind/tests/ |
D | x86_amd64_features.c | 28 static void cpuid ( unsigned int n, in cpuid() function 43 cpuid(0, &a, &b, &c, &d); in vendorStringEquals() 144 cpuid( level & 0x80000000, &a, &b, &c, &d ); in go() 147 cpuid( level, &a, &b, &c, &d ); in go()
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_affinity.c | 54 int cpu_count, i, j, k, cpuid; in HT_SetAffinity() local 110 cpuid = get_current_cpu(pid); in HT_SetAffinity() 111 if (cpuid != i && cpuid != i + 1) in HT_SetAffinity()
|
/external/libjpeg-turbo/simd/ |
D | jsimdcpu.asm | 55 cpuid 61 cpuid 79 cpuid 84 cpuid
|
/external/valgrind/none/tests/x86/ |
D | cpuid.stdout.exp | 1 cpuid words (0): 0x........ 0x........ 0x........ 0x........ 2 cpuid words (1): 0x........ 0x........ 0x........ 0x........
|
/external/ImageMagick/m4/ |
D | ax_gcc_x86_cpuid.m4 | 14 # that executes the cpuid instruction with input OP. This can be used to 16 # parameter that gets passed into register ECX before calling cpuid. 22 # If the cpuid instruction fails (because you are running a 70 AC_CACHE_CHECK(for x86 cpuid $1 output, ax_cv_gcc_x86_cpuid_$1, 74 __asm__ __volatile__ ("cpuid"
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | 2009-10-19-atomic-cmp-eflags.ll | 15 …tail call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{fla… 19 …call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{flags}"(… 36 …call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{flags}"(… 54 …tail call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{fla…
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-10-19-atomic-cmp-eflags.ll | 15 …tail call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{fla… 19 …call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{flags}"(… 36 …call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{flags}"(… 53 …tail call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{fla…
|
/external/syslinux/com32/gpllib/ |
D | cpuid.c | 183 cpuid(0x80000002, &v[0], &v[1], &v[2], &v[3]); in get_model_name() 184 cpuid(0x80000003, &v[4], &v[5], &v[6], &v[7]); in get_model_name() 185 cpuid(0x80000004, &v[8], &v[9], &v[10], &v[11]); in get_model_name() 208 cpuid(0x80000005, &eax, &ebx, &ecx, &edx); in detect_cache() 219 cpuid(0x80000006, &eax, &ebx, &ecx, &edx); in detect_cache() 343 cpuid(0x00000000, in generic_identify() 354 cpuid(0x00000001, &tfms, &ebx, &excap, &capability); in generic_identify() 400 cpuid(0x4, &eax, &ebx, &ecx, &edx); in generic_identify()
|
/external/skqp/src/core/ |
D | SkCpu.cpp | 18 static void cpuid (uint32_t abcd[4]) { __cpuid ((int*)abcd, 1); } in cpuid() function 27 static void cpuid (uint32_t abcd[4]) { __get_cpuid(1, abcd+0, abcd+1, abcd+2, abcd+3); } in cpuid() function 44 cpuid(abcd); in read_cpu_features()
|