Searched refs:cpuid (Results 1 - 25 of 79) sorted by relevance

1234

/external/valgrind/none/tests/x86/
H A Dcpuid.stdout.exp0 cpuid words (0): 0x........ 0x........ 0x........ 0x........
2 cpuid words (1): 0x........ 0x........ 0x........ 0x........
H A Dcpuid_s.S25 cpuid
55 cpuid
/external/dtc/tests/
H A Dboot-cpuid.c32 uint32_t cpuid; local
37 CONFIG("Usage: %s <dtb file> <cpuid>", argv[0]);
40 cpuid = strtoul(argv[2], NULL, 0);
42 if (fdt_boot_cpuid_phys(fdt) != cpuid)
44 fdt_boot_cpuid_phys(fdt), cpuid);
/external/syslinux/com32/gplinclude/disk/
H A Dcommon.h21 #include <cpuid.h>
/external/syslinux/gpxe/src/arch/i386/core/
H A Dcpu.c55 cpuid ( 0x00000000, &cpuid_level, &discard_1,
58 cpuid ( 0x00000001, &discard_1, &discard_2,
65 cpuid ( 0x80000000, &cpuid_extlevel, &discard_1,
69 cpuid ( 0x80000001, &discard_1, &discard_2,
/external/valgrind/VEX/useful/
H A Dcpuid.c7 void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, function
11 asm volatile ("cpuid"
25 cpuid(&eax,&ebx,&ecx,&edx, 0,0);
38 cpuid(&eax,&ebx,&ecx,&edx, i,0);
41 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
50 cpuid(&eax,&ebx,&ecx,&edx, 0x80000000,0);
53 cpuid(&eax,&ebx,&ecx,&edx, i,0);
57 cpuid(&eax,&ebx,&ecx,&edx, 1234,0);
58 cpuid(&eax,&ebx,&ecx,&edx, 0x800004d3,0);
/external/libopus/celt/x86/
H A Dx86cpu.c47 static _inline void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) function
55 #include <cpuid.h>
58 static void cpuid(unsigned int CPUInfo[4], unsigned int InfoType) function
65 "cpuid\n"
75 "cpuid":
104 cpuid(info, 0);
108 cpuid(info, 1);
/external/protobuf/src/google/protobuf/stubs/
H A Datomicops_internals_x86_gcc.cc44 // Inline cpuid instruction. In PIC compilations, %ebx contains the address
46 // must preserve that register's value across cpuid instructions.
48 #define cpuid(a, b, c, d, inp) \ macro
50 "cpuid\n" \
54 #define cpuid(a, b, c, d, inp) \ macro
56 "cpuid\n" \
61 #if defined(cpuid) // initialize the struct only on x86
85 cpuid(eax, ebx, ecx, edx, 0);
93 cpuid(eax, ebx, ecx, edx, 1);
/external/clang/test/Headers/
H A Dcpuid.c4 #include <cpuid.h>
6 // CHECK-64: {{.*}} call { i32, i32, i32, i32 } asm " xchgq %rbx,${1:q}\0A cpuid\0A xchgq %rbx,${1:q}", "={ax},=r,={cx},={dx},0,~{dirflag},~{fpsr},~{flags}"(i32 %{{[a-z0-9]+}})
7 // CHECK-64: {{.*}} call { i32, i32, i32, i32 } asm " xchgq %rbx,${1:q}\0A cpuid\0A xchgq %rbx,${1:q}", "={ax},=r,={cx},={dx},0,2,~{dirflag},~{fpsr},~{flags}"(i32 %{{[a-z0-9]+}}, i32 %{{[a-z0-9]+}})
9 // CHECK-32: {{.*}} call { i32, i32, i32, i32 } asm "cpuid", "={ax},={bx},={cx},={dx},0,~{dirflag},~{fpsr},~{flags}"(i32 %{{[a-z0-9]+}})
10 // CHECK-32: {{.*}} call { i32, i32, i32, i32 } asm "cpuid", "={ax},={bx},={cx},={dx},0,2,~{dirflag},~{fpsr},~{flags}"(i32 %{{[a-z0-9]+}}, i32 %{{[a-z0-9]+}})
/external/fec/
H A Dcpu_features.s9 cpuid
/external/fio/arch/
H A Darch-x86-common.h6 static inline void cpuid(unsigned int op, function
43 cpuid(0x80000000, &eax, &ebx, &ecx, &edx);
47 cpuid(0x80000007, &eax, &ebx, &ecx, &edx);
59 cpuid(0, &level, (unsigned int *) &str[0],
/external/valgrind/coregrind/
H A Dpub_core_cpuid.h44 extern void VG_(cpuid) ( UInt eax, UInt ecx,
H A Dm_cpuid.S69 void VG_(cpuid)(UInt eax, UInt ecx,
74 .globl VG_(cpuid)
75 VG_(cpuid):
85 cpuid
116 .globl VG_(cpuid)
117 VG_(cpuid):
131 cpuid
/external/syslinux/com32/include/sys/x86_64/
H A Dcpu.h24 asm volatile("cpuid"
37 static inline void cpuid(uint32_t op, function
53 cpuid(op, &eax, &ebx, &ecx, &edx);
62 cpuid(op, &eax, &ebx, &ecx, &edx);
71 cpuid(op, &eax, &ebx, &ecx, &edx);
80 cpuid(op, &eax, &ebx, &ecx, &edx);
90 "cpuid ; "
/external/swiftshader/src/Common/
H A DCPUID.cpp165 static void cpuid(int registers[4], int info) function in namespace:sw
170 __asm volatile("cpuid": "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]): "a" (info));
177 cpuid(registers, 1);
184 cpuid(registers, 1);
191 cpuid(registers, 1);
198 cpuid(registers, 1);
205 cpuid(registers, 1);
212 cpuid(registers, 1);
219 cpuid(registers, 1);
/external/ltp/include/old/
H A Dltp_cpuid.h10 static inline void cpuid(unsigned int info, unsigned int *eax, unsigned int *ebx, function
18 "cpuid;"
22 "cpuid;"
/external/libvpx/libvpx/vpx_ports/
H A Dx86.h47 #define cpuid(func, func2, ax, bx, cx, dx) \ macro
48 __asm__ __volatile__("cpuid \n\t" \
52 #define cpuid(func, func2, ax, bx, cx, dx) \ macro
55 "cpuid \n\t" \
63 #define cpuid(func, func2, ax, bx, cx, dx) \ macro
66 "cpuid \n\t" \
72 #define cpuid(func, func2, ax, bx, cx, dx) \ macro
75 "cpuid \n\t" \
84 #define cpuid(func, func2, a, b, c, d) \ macro
94 #define cpuid(fun macro
105 #define cpuid macro
[all...]
/external/libyuv/files/
H A Dlinux.mk63 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/ltp/testcases/kernel/controllers/cpuset/
H A Dcpuset_funcs.sh240 local cpuid=
241 for cpuid in $cpus_array
243 local file="/sys/devices/system/cpu/cpu$cpuid/online"
246 cpu_hotplug $cpuid "online"
/external/ltp/testcases/realtime/func/matrix_mult/
H A Dmatrix_mult.c151 int cpuid; local
160 cpuid = online_cpu_id; /* Save this value before unlocking mutex */
162 return cpuid;
173 int cpuid; local
177 cpuid = set_affinity();
178 if (cpuid == -1) {
197 int cpuid; local
215 cpuid = set_affinity();
216 if (cpuid == -1) {
/external/valgrind/tests/
H A Dx86_amd64_features.c28 static void cpuid ( unsigned int n, function
33 "cpuid"
43 cpuid(0, &a, &b, &c, &d);
140 cpuid( level & 0x80000000, &a, &b, &c, &d );
143 cpuid( level, &a, &b, &c, &d );
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dmce.h20 __u32 cpuid; /* CPUID 1 EAX */ member in struct:mce
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
H A Dht_affinity.c54 int cpu_count, i, j, k, cpuid; local
110 cpuid = get_current_cpu(pid);
111 if (cpuid != i && cpuid != i + 1)
/external/skia/src/core/
H A DSkCpu.cpp18 static void cpuid (uint32_t abcd[4]) { __cpuid ((int*)abcd, 1); } function
22 #include <cpuid.h>
25 __asm__("cpuid" : "=a"(a), "=b"(b), "=c"(c), "=d"(d) : "0"(eax), "2"(ecx))
27 static void cpuid (uint32_t abcd[4]) { __get_cpuid(1, abcd+0, abcd+1, abcd+2, abcd+3); } function
42 // You might want to refer to http://www.sandpile.org/x86/cpuid.htm
44 cpuid(abcd);
/external/autotest/client/profilers/powertop/src/
H A Dintelcstates.c42 static void cpuid( unsigned int *eax, function
47 /* call the cpuid instruction with the registers as input and output
53 "cpuid \n\t"
54 "movl %%ebx, %1 \n\t" /* save what cpuid just put in %ebx */
139 cpuid(&eax, &ebx, &ecx, &edx);

Completed in 5462 milliseconds

1234