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

12

/external/valgrind/main/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.S23 cpuid
53 cpuid
/external/valgrind/main/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);
29 cpuid(&eax,&ebx,&ecx,&edx, i,0);
34 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
42 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
50 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
60 cpuid(&eax,&ebx,&ecx,&edx, 0x80000000,0);
63 cpuid(&eax,&ebx,&ecx,&edx, i,0);
67 cpuid(
79 void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, function
[all...]
/external/chromium/base/
H A Datomicops_internals_x86_gcc.cc19 // Inline cpuid instruction. In PIC compilations, %ebx contains the address
21 // must preserve that register's value across cpuid instructions.
23 #define cpuid(a, b, c, d, inp) \ macro
25 "cpuid\n" \
29 #define cpuid(a, b, c, d, inp) \ macro
31 "cpuid\n" \
36 #if defined(cpuid) // initialize the struct only on x86
54 cpuid(eax, ebx, ecx, edx, 0);
62 cpuid(eax, ebx, ecx, edx, 1);
/external/v8/src/
H A Datomicops_internals_x86_gcc.cc41 // Inline cpuid instruction. In PIC compilations, %ebx contains the address
43 // must preserve that register's value across cpuid instructions.
45 #define cpuid(a, b, c, d, inp) \ macro
47 "cpuid\n" \
51 #define cpuid(a, b, c, d, inp) \ macro
53 "cpuid\n" \
58 #if defined(cpuid) // initialize the struct only on x86
85 cpuid(eax, ebx, ecx, edx, 0);
93 cpuid(eax, ebx, ecx, edx, 1);
/external/valgrind/main/include/
H A Dpub_tool_cpuid.h37 extern void VG_(cpuid) ( UInt eax, UInt ecx,
/external/valgrind/main/coregrind/
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
H A Dm_machine.c617 /* we can't do cpuid at all. Give up. */
620 VG_(cpuid)(0, 0, &eax, &ebx, &ecx, &edx);
622 /* we can't ask for cpuid(x) for x > 0. Give up. */
632 VG_(cpuid)(0x80000000, 0, &eax, &ebx, &ecx, &edx);
636 VG_(cpuid)(1, 0, &eax, &ebx, &ecx, &edx);
652 VG_(cpuid)(0x80000001, 0, &eax, &ebx, &ecx, &edx);
687 /* we can't do cpuid at all. Give up. */
690 VG_(cpuid)(0, 0, &eax, &ebx, &ecx, &edx);
692 /* we can't ask for cpuid(x) for x > 0. Give up. */
702 VG_(cpuid)(
[all...]
/external/libvpx/vpx_ports/
H A Dx86.h39 #define cpuid(func,ax,bx,cx,dx)\ macro
41 "cpuid \n\t" \
45 #define cpuid(func,ax,bx,cx,dx)\ macro
48 "cpuid \n\t" \
57 #define cpuid(func,a,b,c,d) do{\ macro
62 #define cpuid(func,a,b,c,d)\ macro
64 __asm cpuid\
103 cpuid(0, reg_eax, reg_ebx, reg_ecx, reg_edx);
109 cpuid(1, reg_eax, reg_ebx, reg_ecx, reg_edx);
H A Dx86_cpuid.c44 cpuid(0, reg_eax, vs[0], vs[2], vs[1]);
/external/openssl/crypto/
H A Dx86cpuid.pl25 &cpuid ();
53 &cpuid ();
58 &cpuid ();
65 &cpuid ();
70 &cpuid ();
87 &cpuid ();
94 &cpuid ();
H A Dx86_64cpuid.pl61 cpuid
89 cpuid
94 cpuid
102 cpuid
107 cpuid
123 cpuid
130 cpuid
/external/valgrind/main/tests/
H A Dx86_amd64_features.c22 static void cpuid ( unsigned int n, function
27 "cpuid"
37 cpuid(0, &a, &b, &c, &d);
110 cpuid( level & 0x80000000, &a, &b, &c, &d );
113 cpuid( level, &a, &b, &c, &d );
/external/flac/libFLAC/include/private/
H A Dcpu.h48 FLAC__bool cpuid; member in struct:__anon5454
/external/kernel-headers/original/asm-arm/
H A Dsmp.h51 extern void smp_store_cpu_info(unsigned int cpuid);
/external/oprofile/module/x86/
H A Dcpu_type.c38 cpuid (1, &eax, &ebx, &ecx, &edx);
48 * do_cpu_id - Call the cpuid instruction and fill in data at passed address
58 cpuid(1, &eax, &ebx, &ecx, &edx);
69 * this is unfortunately not simple and involves running cpuid on all
/external/valgrind/main/cachegrind/
H A Dcg-x86-amd64.c41 // All CPUID info taken from sandpile.org/ia32/cpuid.htm */
86 VG_(cpuid)(1, 0, &cpuid1_eax, &cpuid1_ignore,
91 VG_(cpuid)(2, 0, (Int*)&info[0], (Int*)&info[4],
245 VG_(cpuid)(4, j++, (Int*)&info[0], (Int*)&info[4],
293 VG_(cpuid)(4, j++, (Int*)&info[0], (Int*)&info[4],
372 VG_(cpuid)(0x80000000, 0, &ext_level, &dummy, &dummy, &dummy);
380 VG_(cpuid)(0x80000005, 0, &dummy, &dummy, &D1i, &I1i);
381 VG_(cpuid)(0x80000006, 0, &dummy, &dummy, &L2i, &L3i);
383 VG_(cpuid)(0x1, 0, &model, &dummy, &dummy, &dummy);
428 VG_(cpuid)(
[all...]
/external/qemu/target-i386/
H A Dkvm.c47 struct kvm_cpuid2 *cpuid; local
50 size = sizeof(*cpuid) + max * sizeof(*cpuid->entries);
51 cpuid = (struct kvm_cpuid2 *)qemu_mallocz(size);
52 cpuid->nent = max;
53 r = kvm_ioctl(s, KVM_GET_SUPPORTED_CPUID, cpuid);
54 if (r == 0 && cpuid->nent >= max) {
59 qemu_free(cpuid);
67 return cpuid;
72 struct kvm_cpuid2 *cpuid; local
133 struct kvm_cpuid2 cpuid; member in struct:__anon11133
[all...]
/external/kernel-headers/original/asm-x86/
H A Dalternative_32.h11 u8 cpuid; /* cpuid bit set for replacement */ member in struct:alt_instr
H A Dprocessor_32.h75 unsigned char x86_max_cores; /* cpuid returned max cores value */
141 __asm__("cpuid"
181 asm volatile("cpuid" : "=a" (tmp) : "0" (1) : "ebx","ecx","edx","memory");
604 static inline void cpuid(unsigned int op, function
630 cpuid(op, &eax, &ebx, &ecx, &edx);
637 cpuid(op, &eax, &ebx, &ecx, &edx);
644 cpuid(op, &eax, &ebx, &ecx, &edx);
651 cpuid(op, &eax, &ebx, &ecx, &edx);
/external/qemu/distrib/sdl-1.2.15/src/cpuinfo/
H A DSDL_cpuinfo.c153 " cpuid # Get and save vendor ID \n"
160 " cpuid # Get family/model/stepping/features\n"
172 " cpuid # Get and save vendor ID \n"
179 " cpuid # Get family/model/stepping/features\n"
191 cpuid ; Get and save vendor ID local
198 cpuid ; Get family/model/stepping/features local
207 " cpuid \n"
214 " cpuid \n"
233 " cpuid # Get extended function limit \n"
239 " cpuid # an
[all...]
/external/flac/libFLAC/
H A Dcpu.c164 info->data.ia32.cpuid = FLAC__cpu_have_cpuid_asm_ia32()? true : false;
165 info->data.ia32.bswap = info->data.ia32.cpuid; /* CPUID => BSWAP since it came after */
176 if(info->data.ia32.cpuid) {
177 /* http://www.sandpile.org/ia32/cpuid.htm */
199 fprintf(stderr, " CPUID ...... %c\n", info->data.ia32.cpuid ? 'Y' : 'n');
/external/skia/src/opts/
H A Dopts_check_SSE2.cpp25 cpuid
37 "cpuid \n\t"
47 "cpuid \n\t"
/external/llvm/lib/Support/
H A DHost.cpp52 /// GetX86CpuIDAndInfo - Execute the specified cpuid and return the 4 values in the
53 /// specified arguments. If we can't run cpuid on the host, return true.
58 // gcc doesn't know cpuid would clobber ebx/rbx. Preseve it manually.
60 "cpuid\n\t"
82 "cpuid\n\t"
93 cpuid
458 // The cpuid register on arm is not accessible from user space. On Linux,
/external/openssl/crypto/perlasm/
H A Dx86gas.pl60 sub ::cpuid { &::emit(".byte\t0x0f,0xa2"); }

Completed in 1389 milliseconds

12